gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-04 12:01:50 25 4
gpt4 key购买 nike

我正在从 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

最佳答案

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

谢谢大家!

关于c++ - 在 Linux Mint QT 上构建 C++ Allegro 5 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52136654/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com