无法在代码块上制作 wxWidgets-3.0.4

Unable make wxWidgets-3.0.4 on codeblocks

本文关键字:wxWidgets-3 代码      更新时间:2023-10-16

当我尝试安装 wxWidgets-3.0.4 并将其与 Code::Block 一起使用时,我遇到了一个问题。我在互联网上搜索了很多类似的东西,但没有成功。

我已经在目录 C:\wxWidgets-3.0.4 中安装了 wxWidgets 我在这里使用了网站上的说明,但是当我输入时

mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0

我得到


C:wxWidgets-3.0.4buildmsw>mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0
if not exist ....libgcc_dllmsw mkdir ....libgcc_dllmsw
process_begin: CreateProcess(NULL, -c "if not exist ....libgcc_dllmsw mkdir ....libgcc_dllmsw", ...) failed.
make (e=2): The system cannot find the file specified.
makefile.gcc:5642: recipe for target '....libgcc_dllmsw' failed
mingw32-make.exe: *** [....libgcc_dllmsw] Error 2

所以,我无法弄清楚问题所在。为什么我不能继续。

我怀疑你的PATH中有一些Cygwin/MSYS实用程序,它们不适用于这些明确用于类似DOS环境的makefile。

如果你想使用Cygwin,你应该使用configure来构建wxWidgets。否则,请键入path以查看当前值并从中删除包含mkdir.exe的任何内容。