183 Star 845 Fork 308

Polarix / SimpleGUI

 / 详情

VirtualSDK_wx30编译问题

已完成
创建于  
2021-03-09 17:26

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工程时没有任何问题,不知道是什么原因,望解答?谢谢

评论 (1)

cwy19850822 创建了任务
cwy19850822 关联仓库设置为Polarix/SimpleGUI
Polarix 任务状态待办的 修改为进行中
展开全部操作日志

原因在这里:
Project/Target: "SimpleGUI VirtualSDK - x86":

因为目前默认模式下,she模式的MinGW-w64只能编译64位的程序,但是VirtualSDK工程默认是x86编译目标,所以会出现这个问题。
您可以试试在顶部工具栏的编译按钮旁边,把编译目标改为“x64”试试看。

如果想编译32位,请选择32位版的MinGW或者TDM-GCC,同时别忘了使用32位版本的wxWidgets库。

Polarix 任务状态进行中 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
C
1
https://gitee.com/Polarix/simplegui.git
git@gitee.com:Polarix/simplegui.git
Polarix
simplegui
SimpleGUI

搜索帮助