0

尝试在 U++ 中编译测试示例但编译失败,显示此错误:

----- helloworld(MAIN GCC DEBUG SHARED DEBUG_FULL BLITZ LINUX POSIX)main.cpp /home/testbed/upp/uppsrc/helloworld/main.cpp:1:30:致命
错误:7CtrlLib/CtrlLib.h:没有这样的文件或目录编译
终止。helloworld: 1 个内置文件 (0:00.34), 342 毫秒 /
文件,持续时间 = 345 毫秒

有错误。(0:00.36)

做什么?

4

2 回答 2

0

编译器似乎找不到该文件7CtrlLib/CtrlLib.h。您是否错过了包含文件夹中的此文件?

于 2013-04-23T14:11:33.213 回答
0

main.cpp:1:30: fatal error: 7CtrlLib/CtrlLib.h: No such file or directory

这似乎在 main.cpp 第一行的#include 中的代码中有错字。'7' 不应该在那里。如果没有这样的输入错误,请从编译中发布完整的详细输出(检查 Setup -> Be Verbose && 再次编译)。

于 2013-04-23T15:55:15.177 回答