未解决的包含wprogram.h
unresolved inclusion WProgram.h
eclipse能够找到iostream,stdio.h and conio.h
,但无法找到wprogram.h
我正在使用CDT上的Windows8上使用Indigo。我能够编译和运行Hello World计划。我还链接了AVR目录。有人知道为什么Eclipse无法找到标头文件吗?
标头文件不存在,或者其目录的路径不在包含路径中。检查项目 ->属性 -> c/c 构建 ->设置 -> inclage->包括路径,并确保wprogram.h在该列表中包含wprogram.h。
Google搜索建议wprogram.h已重命名为arduino.h。尝试包括该文件。
通常不明显哪个文件导致导入旧的(且不存在)Wprogram.h
。因此,扫描您的最后一次导入的libs(.h and .c)文件的#Include "Wprogram.h"
,并替换为#Include "Arduino.h"
相关文章:
- 如何导出包含具有"std::unique_ptr"值的"std::map"属性的
- 从包含m行的文件中提取n行,必要时(惰性地)重复该文件
- 编译包含字符串的代码时遇到问题
- c++库的公共头文件中应该包含什么
- 将包含C样式数组的对象初始化为成员变量(C++)
- 是否需要删除包含对象的"pair"?
- 函数何时会在c++中包含stack_Unwind_Resume调用
- 如何将包含epoch时间的十六进制字符串转换为time_t
- 使用mongocxx驱动程序时包含头文件问题
- 如何在h文件中包含.o对象文件
- 在混合代码库中将C转换为C++时出现许多包含错误
- VS2017,C++包含目录与附加包含目录,子文件夹包含失败-但为什么
- cmath抛出错误C2062、C2059、C2143和C2447.cmath包含在矢量文件中
- 为什么您需要C++头文件的包含保护
- 无法在UE4中包含BP类到CPP类
- g++ 说函数不存在,即使包含正确的标头
- 在C++代码中包含opencv时,使用ctypes创建.so文件
- Visual C++GC接口如何启用它以及要包含哪个库
- 当调用switch语句中的函数时(即使函数不包含循环),似乎是永不结束的循环的问题
- 未解决的包含wprogram.h