gpt4 book ai didi

c++ - 错误 : wx/setup. h:CodeBlocks 上没有这样的文件或目录 wxWidgets

转载 作者:塔克拉玛干 更新时间:2023-11-03 07:15:53 25 4
gpt4 key购买 nike

我已经开始使用 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."

Screenshot log

我认为这是因为以下 cmd 命令在 cmd 提示符下不起作用:

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

最佳答案

您可以从 https://github.com/wxWidgets/wxWidgets/releases 下载预构建的二进制文件,而不是尝试自己构建库。

关于c++ - 错误 : wx/setup. h:CodeBlocks 上没有这样的文件或目录 wxWidgets,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33683833/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com