我想编译一个pmars-0.9.2的游戏,但是在通过测试的时候偶然发现了一个错误,经过命令 make -j4
:
make[2]: *** [extractor/CMakeFiles/extractor.dir/backoff_sampler.cc.o] Error 1
CMakeFiles/Makefile2:2561: recipe for target 'extractor/CMakeFiles/extractor.dir/all' failed
make[1]: *** [extractor/CMakeFiles/extractor.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
能否告诉我缺少哪些安装驱动才能成功完成编译?
要查看解压归档后的日志,请使用命令。
nano /home/user/Desktop/pmars-0.9.2/cdec/BUILDING
要建立cdec,你需要:
1) 创建一个编译目录,并使用CMake生成Makefile。
mkdir my_build
cd my_build
cmake ..
If the cmake command completes successfully, you can proceed. If you have
libraries (such as Boost) installed in nonstandard locations, you may need
to run cmake with special options like -DBOOST_ROOT=/path/to/boost.
2)建设
make -j 2
3)测试使测试.testrun-system-tests.pl。