我是新来的cdk卡萨布兰卡并在Codelite ide中使用它.
操作系统:Arch Linux
gcc版本:6.1.1
在构建代码时,我在调试模式下遇到以下错误:
操作系统:Arch Linux
gcc版本:6.1.1
在构建代码时,我在调试模式下遇到以下错误:
/bin/sh -c '/usr/bin/make -j4 -e -f Makefile' ----------Building project:[ Casa - Debug ]---------- make[1]: Entering directory '/home/vinci/Documents/CPP_Projects_Programs/Casa' /usr/bin/g++ -c "/home/vinci/Documents/CPP_Projects_Programs/Casa/main.cpp" -g -O0 -fopenmp -std=c++14 -std=c++11 -Wall -o ./Debug/main.cpp.o -I. -I/usr/local/include/cpprest -I/usr/local/include/pplx -I/home/vinci/casablanca/Release/src -I. -I/usr/local/include/cpprest -I/usr/local/include/pplx /usr/bin/g++ -o ./Debug/Casa @"Casa.txt" -L. -L/usr/local/lib -L/usr/lib64 -L/usr/lib -lcpprest /usr/bin/ld: ./Debug/main.cpp.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv' /usr/lib/libboost_system.so.1.60.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[1]: *** [Casa.mk:79: Debug/Casa] Error 1 make[1]: Leaving directory '/home/vinci/Documents/CPP_Projects_Programs/Casa' make: *** [Makefile:5: All] Error 2 ====1 errors,0 warnings,total time: 00:00:14 seconds====
我在询问之前在Stackoverflow上搜索了这个,并且大多数答案只是指向在项目设置中正确链接库我已经完成了,因为可以在上面的代码中看到但仍然不断给出错误,我不知道我是什么失踪??
一点帮助将不胜感激……
谢谢