惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
Blog — PlanetScale
Blog — PlanetScale
B
Blog
GbyAI
GbyAI
爱范儿
爱范儿
月光博客
月光博客
N
Netflix TechBlog - Medium
T
Tailwind CSS Blog
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
Recent Announcements
Recent Announcements
腾讯CDC
MyScale Blog
MyScale Blog
V
Visual Studio Blog
The Cloudflare Blog
Microsoft Security Blog
Microsoft Security Blog
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

博客园 - 一些记录

如果 要调试 RA支持吗 MarkBin(MarkDown++)是一个可见即可的的MarkDown编辑器 下载 免费使用 Win32 Demo AesSafe文件夹加密工具 在断开环境中使用 MSIX 打包工具 修改tarui的html后如何重新编译 cargo tauri build prevAll QT快速创建函数快捷键 alt+enter qt6 mac 需要mac os 12的版本 the installed QT MSVC2022 MISSING DEBUG INFORMATION FILES qt internal error the extendsion c 解决“msvcp140d.dll 找不到”错误 在 wxWidgets 中,setup.h 引用了头文件, build wxwidgets config ld.exe||cannot find -lwxmsw32ud: No such file or directory| MFC程序错误-在共享DLL中使用MFC Warning: Cannot find any version of the dxcompiler.dll and dxil.dll. windeployqt xxxxxxx.exe --qmldir C:\Qt6\6.9.2\msvc2022_64\qml - 一些记录 护眼颜色
关于Windows“wx/setup.h: No such file or directory”解决
一些记录 · 2025-09-14 · via 博客园 - 一些记录

很多Windows下用Code::blocks+wxWidgets的朋友最开始的时候都会因为这个错误无法编译而放弃wx。

下面给出详细解决方法:
1.到WX的目录下, 找到include\wx\platform.h文件,用Codeblocks打开它

2.Codeblocks下用菜单栏的Search->Find功能, 找到 #include "wx/setup.h" 一行

3.将 "wx/setup.h" 改为 "wx/msw/setup.h", 然后保存修改后的platform.h文件即可,之后你再去编译工程,就不会出现这个错误了

原来官方给的下载包里的wx.chm帮助文件有这个问题的解决办法,意思是说,wx/...目录里根本没有setup.h文件, 首先要在platform.h文件里进行配置, 格式大致是 #include "wx/XXX/setup.h", 而这里的XXX是根据你所用的操作系统的不同而改变的,例如WINDOW下就改成"wx/msw/setup.h", 而MacOS就改成"wx/mac/setup.h",就是这样。。

该文为摘抄笔记。。。