Polarix你好:
我在编译VirtualSDK_wx30时出现下面的情况,Windows环境下使用code blocks20.03+wxWidgets-3.0.5总是出现下面问题:
Project/Target: "SimpleGUI VirtualSDK - x86":
The compiler's setup is invalid, so Code::Blocks cannot find/run the compiler.
Probably the toolchain path within the compiler options is not setup correctly?!
Do you have a compiler installed?
Goto "Settings->Compiler...->Global compiler settings->unknown->Toolchain executables" and fix the compiler's setup.
Skipping...
Nothing to be done (all items are up-to-date).
当创建我自己的wxWidgets工程时没有任何问题,不知道是什么原因,望解答?谢谢
原因在这里:
Project/Target: "SimpleGUI VirtualSDK - x86":
因为目前默认模式下,she模式的MinGW-w64只能编译64位的程序,但是VirtualSDK工程默认是x86编译目标,所以会出现这个问题。
您可以试试在顶部工具栏的编译按钮旁边,把编译目标改为“x64”试试看。
如果想编译32位,请选择32位版的MinGW或者TDM-GCC,同时别忘了使用32位版本的wxWidgets库。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论