(4)Error: could not open source file “stdio.h”
原因:头文件路径不对造成,改正的方法是在设置选项卡的C/C++ Compiler -> Preprocessor选项里,将
T
O
O
L
K
I
T
D
I
R
TOOLKIT_DIR
TOOLKITDIR\INC\CLIB\添到Include paths中。
(9)Error: Undefined external “OnBoard_SendPhoto::?relay” referred in hal_key ( C:\Texas Instruments\ZStack-1.4.3-1.2.1\Projects\zstack\Samples\SimpleApp\CC2430DB\SimpleControllerEB\Obj\hal_key.r51 )
原因:只有没有找到该函数的定义OnBoard_SendPhoto(),只有声明和使用。一般在链接时发生此错误。
注:此处应该专门归纳一下链接的时候报错的情况,