无法构建代码块史密斯wxWidget项目
failed to build codeblocks smith wxWidget project
我正在尝试设置代码::块史密斯来做wxWidgets GUI编程。最近我在我的电脑上安装了code::blocks和wxWidget库。
code::blocks IDE version: 13.12
wxWidget version: 2.8.12
Operating System: Windows 7
下面是 wxWidget 项目的构建日志。我按照wxWidget网站上列出的说明进行操作,但没有工作。
-------------- Build: Debug in CsBarcodeScanner (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wall -g -D__WXDEBUG__ -IC:wxWidgets-2.8.12include -IC:wxWidgets-2.8.12libgcc_libmswud -c C:DataCsBarcodeScannerwx_pch.h -o wx_pch.h.gchDebug_wx_pch_h_gch
In file included from C:wxWidgets-2.8.12include/wx/platform.h:293:0,
from C:wxWidgets-2.8.12include/wx/defs.h:21,
from C:wxWidgets-2.8.12include/wx/wxprec.h:13,
from ./wx_pch.h:14,
from <command-line>:0:
C:wxWidgets-2.8.12include/wx/chkconf.h:1817:9: error: #error "wxClipboard requires wxDataObject"
Process terminated with status 1 (0 minute(s), 2 second(s))
1 error(s), 0 warning(s) (0 minute(s), 2 second(s))
你编辑过wx/setup.h
文件吗?默认情况下,wxUSE_DATAOBJECT
应设置为1,因此我看不出未修改的源如何发生此错误。
另外,我强烈建议使用 wxWidgets 3.0,绝对没有理由将 2.8 用于新项目。
相关文章:
- SSH通过/sbin/SSH无法读取RSA密钥文件(从控制台运行)
- 允许从 std::map 的密钥窃取资源?
- TMap::Emplace() 在应用现有密钥时会覆盖吗?
- C++ 乔列斯基因式分解
- 在没有密钥的情况下读取密文的剩余噪声预算
- 莱克斯没有返回我想要的东西
- 如何修复无效的API密钥,IP或操作权限错误?
- 毕达哥拉斯三重嵌套循环误解
- 分段错误 .AnsiStringToUnicodeString 作为第一个调试错误行.杜比奥斯类等级制度
- 在C++上实现高斯赛德尔迭代方法
- 所有可能的链接生成器与64位密钥
- 如何在unordered_map中更改密钥?
- 运行莱文斯坦代码时出现问题
- 康斯特指针C++斯特劳斯特鲁普
- GLUT 无法获得米利斯精度的时间
- 获取当前密钥状态?
- C++:根据斯特劳斯特鲁普的例子播种随机数
- C++:斯特劳斯特鲁普iterator_traits示例不编译?
- 无法构建代码块史密斯wxWidget项目
- 帕斯卡的读密钥是否有等效项;在 C 还是C++?