error: wx/setup.h: No such file or directory wxWidgets on CodeBlocks
error: wx/setup.h: No such file or directory wxWidgets on CodeBlocks
我已经开始使用 wxWidgets-3.0.2 通过代码块创建应用程序
但是当我完成创建我的界面时,它不能是 运行
错误日志:
C:\wxWidgets-3.0.2\include/wx/platform.h:183:22: error: wx/setup.h: No such file or directory
C:\wxWidgets-3.0.2\include/wx/chkconf.h:88:9: error: #error "wxUSE_ANY must be defined, please read comment near the top of this file."
C:\wxWidgets-3.0.2\include/wx/chkconf.h:96:9: error: #error "wxUSE_COMPILER_TLS must be defined, please read comment near the top of this file."
C:\wxWidgets-3.0.2\include/wx/chkconf.h:104:9: error: #error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."
C:\wxWidgets-3.0.2\include/wx/chkconf.h:112:9: error: #error "wxUSE_DYNLIB_CLASS must be defined, please read comment near the top of this file."
我认为这是因为以下 cmd 命令在 cmd 提示符下不起作用:
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release
下载预构建的二进制文件,而不是尝试自己构建库
我已经开始使用 wxWidgets-3.0.2 通过代码块创建应用程序 但是当我完成创建我的界面时,它不能是 运行
错误日志:
C:\wxWidgets-3.0.2\include/wx/platform.h:183:22: error: wx/setup.h: No such file or directory
C:\wxWidgets-3.0.2\include/wx/chkconf.h:88:9: error: #error "wxUSE_ANY must be defined, please read comment near the top of this file."
C:\wxWidgets-3.0.2\include/wx/chkconf.h:96:9: error: #error "wxUSE_COMPILER_TLS must be defined, please read comment near the top of this file."
C:\wxWidgets-3.0.2\include/wx/chkconf.h:104:9: error: #error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."
C:\wxWidgets-3.0.2\include/wx/chkconf.h:112:9: error: #error "wxUSE_DYNLIB_CLASS must be defined, please read comment near the top of this file."
我认为这是因为以下 cmd 命令在 cmd 提示符下不起作用:
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release