log4cxx/logger.h 或 libcql/cql.hpp 執行 make -j4 時發生致命錯誤

log4cxx/logger.h 或 libcql/cql.hpp 執行 make -j4 時發生致命錯誤

我正在跑步make -j4,但遇到異常......

userName@phx5qa01c-4e23:~/build$ make -j4
[  1%] [  2%] Building CXX object nda/common/loadtest/CMakeFiles/loadtester.dir/LoadTester.cc.o
make[2]: *** No rule to make target `/usr/include/libcql/lib/libcql.so', needed by `nda/common/client/client'.  Stop.
make[2]: *** Waiting for unfinished jobs....
Building CXX object nda/unittest/common/CMakeFiles/TestRunner.dir/TestRunner.cc.o
[  3%] Building CXX object nda/common/client/CMakeFiles/client.dir/main.cc.o
[  4%] Building CXX object nda/common/CMakeFiles/ndacommon.dir/category_map/CategoryMap.cc.o
In file included from /home/userName/MPL/nda/common/client/main.cc:1:
/home/userName/MPL/nda/common/client/be_cassandra_util.hh:5: fatal error: libcql/cql.hpp: No such file or directory
compilation terminated.
make[2]: *** [nda/common/client/CMakeFiles/client.dir/main.cc.o] Error 1
make[1]: *** [nda/common/client/CMakeFiles/client.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  5%] Building CXX object nda/common/CMakeFiles/ndacommon.dir/curl_handler/CurlHandler.cc.o
/home/userName/MPL/nda/common/curl_handler/CurlHandler.cc:12: fatal error: log4cxx/logger.h: No such file or directory
compilation terminated.
make[2]: *** [nda/common/CMakeFiles/ndacommon.dir/curl_handler/CurlHandler.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/userName/MPL/nda/unittest/common/TestRunner.cc:8: fatal error: log4cxx/logger.h: No such file or directory
compilation terminated.
make[2]: *** [nda/unittest/common/CMakeFiles/TestRunner.dir/TestRunner.cc.o] Error 1
make[1]: *** [nda/unittest/common/CMakeFiles/TestRunner.dir/all] Error 2
/home/userName/MPL/nda/common/category_map/CategoryMap.cc:11: fatal error: log4cxx/logger.h: No such file or directory
compilation terminated.
make[2]: *** [nda/common/CMakeFiles/ndacommon.dir/category_map/CategoryMap.cc.o] Error 1
make[1]: *** [nda/common/CMakeFiles/ndacommon.dir/all] Error 2
Linking CXX executable loadtester
[  5%] Built target loadtester
make: *** [all] Error 2

下面是例外情況,我總是得到 -

fatal error: libcql/cql.hpp: No such file or directory

fatal error: log4cxx/logger.h: No such file or directory

我不確定我應該做什麼來解決這些異常?

我想,我可能需要為這些添加庫......但我不確定應該如何添加這些庫以及將其放在哪裡,以便在編譯時它可以正常工作......

相關內容