[英]error: wx/setup.h: No such file or directory wxWidgets on CodeBlocks
I have started to create an application via codeblocks using wxWidgets-3.0.2 but when I finish creating my interface, it cannot be run我已经开始使用 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/platform.h:183:22: 错误: wx/setup.h: 没有那个文件或目录
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:88:9: error: #error "wxUSE_ANY 必须定义,请阅读此文件顶部附近的评论。"
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:96:9: error: #error "wxUSE_COMPILER_TLS 必须定义,请阅读此文件顶部附近的评论。"
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:104:9: error: #error "wxUSE_CONSOLE_EVENTLOOP 必须定义,请阅读此文件顶部附近的评论。"
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."
C:\\wxWidgets-3.0.2\\include/wx/chkconf.h:112:9: error: #error "wxUSE_DYNLIB_CLASS 必须定义,请阅读此文件顶部附近的评论。"
I think that's because the following cmd command does not work on the cmd prompt:我认为这是因为以下 cmd 命令在 cmd 提示符下不起作用:
mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release
您可以从https://github.com/wxWidgets/wxWidgets/releases下载预构建的二进制文件,而不是尝试自己构建库
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.