【发布时间】:2014-07-10 22:46:48
【问题描述】:
我搜索了相当多的内容,但没有看到其他人遇到此特定问题。我正在运行 Ubuntu 14.04(amd64)和代码块 13.12(来自 ubuntu 存储库)。我已经按照这里的指示:“wxWidgets how to cross compile an application for windows from linux using codeblocks?”并且发现自己有点卡住了。我可以成功编译win32 CLI代码和使用windows.h的代码。如果我创建一个 wxwidgets 项目,我可以成功地为 linux 编译它,但是如果我尝试使用 mingw 编译器设置(根据该链接中的说明)编译它,我会收到以下错误:
unrecognized command line option "-Wno-unused-local-typedefs"
任何建议将不胜感激!
【问题讨论】:
标签: linux wxwidgets codeblocks cross-compiling mingw32