无法构建 OMNeT++ 项目
Can't build OMNeT++ Project
我无法构建基本的项目配置,而且我总是在控制台中收到此消息。我也设置了 PREFER_CLANG=no 但仍然出现此错误。
16:09:44 **** Build of configuration debug for project Ihab Project ****
make MODE=debug all
Computer.cc
Creating executable: out/gcc-debug//Ihab
g++.exe: error: Project_dbg.exe: No such file or directory
make: *** [Makefile:95: out/gcc-debug//Ihab] Error 1
"make MODE=debug all" terminated with exit code 2. Build might be incomplete.
16:09:46 Build Failed. 1 errors, 0 warnings. (took 1s.705ms)
问题我发现了,项目命名不能加空格。我已将其重命名为 IhabTest 而不是 Ihab Project.
19:44:44 **** Build of configuration debug for project IhabTest ****
make MODE=debug all
Computer.cc
Creating executable: out/clang-debug//IhabTest_dbg.exe
19:44:47 Build Finished. 0 errors, 0 warnings. (took 3s.826ms)
我无法构建基本的项目配置,而且我总是在控制台中收到此消息。我也设置了 PREFER_CLANG=no 但仍然出现此错误。
16:09:44 **** Build of configuration debug for project Ihab Project ****
make MODE=debug all
Computer.cc
Creating executable: out/gcc-debug//Ihab
g++.exe: error: Project_dbg.exe: No such file or directory
make: *** [Makefile:95: out/gcc-debug//Ihab] Error 1
"make MODE=debug all" terminated with exit code 2. Build might be incomplete.
16:09:46 Build Failed. 1 errors, 0 warnings. (took 1s.705ms)
问题我发现了,项目命名不能加空格。我已将其重命名为 IhabTest 而不是 Ihab Project.
19:44:44 **** Build of configuration debug for project IhabTest ****
make MODE=debug all
Computer.cc
Creating executable: out/clang-debug//IhabTest_dbg.exe
19:44:47 Build Finished. 0 errors, 0 warnings. (took 3s.826ms)