-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print.h和Printable.h报错 #11
Comments
@kehale |
5.14 |
关于"FileGroup.h"前面的x号,可以尝试 Options for target->C/C++->Misc Controls 里的"--gnu"去除 |
可能是keil版本导致的,建议换5.25版本,我编译没问题。 |
嗯。谢谢了 |
另外,.c里不能直接调用C++,不能引用C++的头文件,您需要把.c文件的扩展名改为.cpp |
谢谢了 是c++的问题的解决了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我在使用其他.c文件加载#include "FileGroup.h",这个FileGroup.h前面有×,无法build,显示..\ArduinoAPI\Printable.h(25): error: #20: identifier "class" is undefined,..\ArduinoAPI\Print.h(101): error: #169: expected a declaration。我是初学者,在这麻烦你解决下,谢谢,最近下载的文件,是最新的。使用main.cpp,build是没有问题的,就是其他的.c文件加头文件include "FileGroup.h"build出错
The text was updated successfully, but these errors were encountered: