使用CMake和TDM-GCC构建Allegro 5库

时间:2019-07-05 16:13:26

标签: cmd cmake command mingw32 allegro

Command Prompt Error

CMake Directories

我正在建立一个Allegro图书馆。我正在Mac上使用并行运行Windows。在命令提示符下,我已更改为正确的目录并执行了“ mingw32-make”命令,但收到以下错误:

C:\Users\personal\Downloads\allegro-5.2.2\build>mingw32-make
Scanning dependencies of target allegro_monolith
[  0%] Building C object CMakeFiles/allegro_monolith.dir/src/allegro.c.obj
gcc.exe: error: \Mac\Home\Downloads\allegro\src\allegro.c: No such file or directory
gcc.exe: fatal error: no input files
compilation terminated.
CMakeFiles\allegro_monolith.dir\build.make:62: recipe for target 'CMakeFiles/allegro_monolith.dir/src/allegro.c.obj' failed
mingw32-make[2]: *** [CMakeFiles/allegro_monolith.dir/src/allegro.c.obj] Error 1
CMakeFiles\Makefile2:94: recipe for target 'CMakeFiles/allegro_monolith.dir/all' failed
mingw32-make[1]: *** [CMakeFiles/allegro_monolith.dir/all] Error 2
Makefile:128: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

0 个答案:

没有答案