无法通过mingw编译wxwidgets,跟随zip文件附带的install.txt

7 wxwidgets mingw compilation mingw32

我正在尝试编译wxwidgets.我正在使用mingw32编译并遵循zip文件附带的install.txt,但是当我编译它时,它会给我这些错误.

if not exist gcc_mswd mkdir gcc_mswd
process_begin: CreateProcess(NULL, -c "if not exist gcc_mswd mkdir gcc_mswd", ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make: [gcc_mswd] Error 2 (ignored)
if not exist ..\..\lib\gcc_lib mkdir ..\..\lib\gcc_lib
process_begin: CreateProcess(NULL, -c "if not exist ..\..\lib\gcc_lib mkdir ..\..\lib\gcc_lib", ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make: *** [..\..\lib\gcc_lib] Error 2

任何帮助表示赞赏.

PS:我正在使用mingw32-make,如果这有所作为.

Ste*_*veL 5

根据wxWiki上的指南,看起来错误是由于你在PATH环境变量中有MSYS并且混淆了所有内容.它建议使用MSYS进行编译或将其从PATH中删除,并确保您的mingw安装路径位于PATH中.