Arduino:1.8.19 (Windows 10), 开发板:"Arduino Nano, ATmega328P"
C:\Users\AWRT\Desktop\woodbox v1.7\woodbox\woodbox.ino:24:0: warning: "SERVO" redefined
#define SERVO 12 //舵机
In file included from C:\Program Files\Arduino\libraries\Adafruit_Circuit_Playground/Adafruit_Circuit_Playground.h:25:0,
from C:\Program Files\Arduino\libraries\Adafruit_Circuit_Playground/Adafruit_CircuitPlayground.h:3,
from C:\Users\AWRT\Desktop\woodbox v1.7\woodbox\woodbox.ino:10:
C:\Program Files\Arduino\libraries\Adafruit_Circuit_Playground/utility/CP_Firmata.h:112:0: note: this is the location of the previous definition
#define SERVO 0x04 // same as PIN_MODE_SERVO
In file included from C:\Users\AWRT\Desktop\woodbox v1.7\woodbox\woodbox.ino:1:0:
C:\Program Files\Arduino\libraries\Temboo\src/Temboo.h:86:43: error: expected identifier before '(' token
#define TEMBOO_ERROR_ACCOUNT_MISSING (201)
^
C:\Program Files\Arduino\libraries\Temboo\src/TembooCoAPEdgeDevice.h:264:13: note: in expansion of macro 'TEMBOO_ERROR_ACCOUNT_MISSING'
TEMBOO_ERROR_ACCOUNT_MISSING = 201,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Program Files\Arduino\libraries\Temboo\src/Temboo.h:86:43: error: expected '}' before '(' token
#define TEMBOO_ERROR_ACCOUNT_MISSING (201)
^
C:\Program Files\Arduino\libraries\Temboo\src/TembooCoAPEdgeDevice.h:264:13: note: in expansion of macro 'TEMBOO_ERROR_ACCOUNT_MISSING'
TEMBOO_ERROR_ACCOUNT_MISSING = 201,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Program Files\Arduino\libraries\Temboo\src/Temboo.h:86:44: error: expected unqualified-id before numeric constant
#define TEMBOO_ERROR_ACCOUNT_MISSING (201)
^
C:\Program Files\Arduino\libraries\Temboo\src/TembooCoAPEdgeDevice.h:264:13: note: in expansion of macro 'TEMBOO_ERROR_ACCOUNT_MISSING'
TEMBOO_ERROR_ACCOUNT_MISSING = 201,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Program Files\Arduino\libraries\Temboo\src/Temboo.h:86:44: error: expected ')' before numeric constant
#define TEMBOO_ERROR_ACCOUNT_MISSING (201)
^
C:\Program Files\Arduino\libraries\Temboo\src/TembooCoAPEdgeDevice.h:264:13: note: in expansion of macro 'TEMBOO_ERROR_ACCOUNT_MISSING'
TEMBOO_ERROR_ACCOUNT_MISSING = 201,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\AWRT\Desktop\woodbox v1.7\woodbox\woodbox.ino:2:0:
C:\Program Files\Arduino\libraries\Temboo\src/TembooCoAPEdgeDevice.h: In member function 'char* TembooCoAPChoreo::getResponseData()':
C:\Program Files\Arduino\libraries\Temboo\src/TembooCoAPEdgeDevice.h:247:41: error: 'm_respData' was not declared in this scope
char* getResponseData() {return m_respData;}
^~~~~~~~~~
C:\Program Files\Arduino\libraries\Temboo\src/TembooCoAPEdgeDevice.h: In member function 'char* TembooCoAPChoreo::getHTTPResponseCode()':
C:\Program Files\Arduino\libraries\Temboo\src/TembooCoAPEdgeDevice.h:248:45: error: 'm_httpCodeStr' was not declared in this scope
char* getHTTPResponseCode() {return m_httpCodeStr;}
^~~~~~~~~~~~~
C:\Program Files\Arduino\libraries\Temboo\src/TembooCoAPEdgeDevice.h: At global scope:
C:\Program Files\Arduino\libraries\Temboo\src/TembooCoAPEdgeDevice.h:277:5: error: expected unqualified-id before 'protected'
protected:
^~~~~~~~~
C:\Program Files\Arduino\libraries\Temboo\src/TembooCoAPEdgeDevice.h:280:27: error: 'm_client' declared as reference but not initialized
TembooCoAPClient& m_client;
^~~~~~~~
C:\Program Files\Arduino\libraries\Temboo\src/TembooCoAPEdgeDevice.h:311:5: error: expected unqualified-id before 'protected'
protected:
^~~~~~~~~
C:\Program Files\Arduino\libraries\Temboo\src/TembooCoAPEdgeDevice.h:314:1: error: expected declaration before '}' token
};
^
exit status 1
为开发板 Arduino Nano 编译时出错。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|