在Linux Mint QT上构建C ++ Allegro 5失败

时间:2018-09-02 11:38:03

标签: c++ linux build allegro5

我正在从Git安装和构建Allegro 5(尝试了常规安装,并且以相同的方式失败)。 我不知道下一步该怎么做。

[ 20%] Building C object addons/native_dialog/CMakeFiles/allegro_dialog.dir/gtk_xgtk.c.o
[ 20%] Linking C shared library ../../lib/liballegro_dialog.so
[ 20%] Built target allegro_dialog
Scanning dependencies of target allegro_main
[ 20%] Building C object addons/main/CMakeFiles/allegro_main.dir/generic_main.c.o
[ 20%] Linking C shared library ../../lib/liballegro_main.so
[ 20%] Built target allegro_main
Scanning dependencies of target copy_demo_data
[ 20%] Generating data/gfx/medium_asteroid.png
CMake Error: cmake version 3.5.1
Usage: /usr/bin/cmake -E <command> [arguments...]

demos/cosmic_protector/CMakeFiles/copy_demo_data.dir/build.make:97: recipe for target 'demos/cosmic_protector/data/gfx/medium_asteroid.png' failed
make[2]: *** [demos/cosmic_protector/data/gfx/medium_asteroid.png] Error 1
CMakeFiles/Makefile2:844: recipe for target 'demos/cosmic_protector/CMakeFiles/copy_demo_data.dir/all' failed
make[1]: *** [demos/cosmic_protector/CMakeFiles/copy_demo_data.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

` 完成;使版本1:

make[2]: Entering directory '/media/oneterebyte/Documents/ALL DOUGLAS'/Eclipse C Projects/allegro5/build'
[ 20%] Generating data/gfx/medium_asteroid.png
cd "/media/oneterebyte/Documents/ALL DOUGLAS'/Eclipse C Projects/allegro5/build/demos/cosmic_protector" && /usr/bin/cmake -E copy /media/oneterebyte/Documents/ALL\ DOUGLAS'/Eclipse\ C\ Projects/allegro5/demos/cosmic_protector/data/gfx/medium_asteroid.png /media/oneterebyte/Documents/ALL\ DOUGLAS'/Eclipse\ C\ Projects/allegro5/build/demos/cosmic_protector/data/gfx/medium_asteroid.png
CMake Error: cmake version 3.5.1
Usage: /usr/bin/cmake -E <command> [arguments...]
Available commands: 


demos/cosmic_protector/CMakeFiles/copy_demo_data.dir/build.make:97: recipe for target 'demos/cosmic_protector/data/gfx/medium_asteroid.png' failed
make[2]: *** [demos/cosmic_protector/data/gfx/medium_asteroid.png] Error 1
make[2]: Leaving directory '/media/oneterebyte/Documents/ALL DOUGLAS'/Eclipse C Projects/allegro5/build'
CMakeFiles/Makefile2:844: recipe for target 'demos/cosmic_protector/CMakeFiles/copy_demo_data.dir/all' failed
make[1]: *** [demos/cosmic_protector/CMakeFiles/copy_demo_data.dir/all] Error 2
make[1]: Leaving directory '/media/oneterebyte/Documents/ALL DOUGLAS'/Eclipse C Projects/allegro5/build'
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

1 个答案:

答案 0 :(得分:0)

我走了很长一段路,并删除了Mint KDE(因为他们不会更新它,而且确实过时了),并安装了Manjaro KDE Linux。这是我需要的所有编程工具所附带的,而且非常最新!

谢谢大家!