我有个带以太网屏的Arduino。
我有httpclient库,并且我正在尝试运行PachubeClient示例。
当我编译的时候,它会给我很多错误:
PachubeClient.cpp:25:25: error: Credentials.h: No such file or directory
PachubeClient.cpp: In function 'void setup()':
PachubeClient:47: error: 'ssid' was not declared in this scope
PachubeClient:47: error: 'passphrase' was not declared in this scope
PachubeClient:55: error: a function-definition is not allowed here before '{' token
PachubeClient:95: error: expected `}' at end of input为什么?
发布于 2011-11-10 08:58:06
我根本没有尝试过使用Arduino开发环境,但是这个错误消息意味着您要么丢失了Credentials.h文件,要么编译器不知道在哪里可以找到它。验证该文件是否存在,然后检查您的编译器设置,以确保将头文件的路径传递给它。
https://stackoverflow.com/questions/8073287
复制相似问题