【发布时间】:2018-06-20 06:06:07
【问题描述】:
我在 CMake 中配置了 wxWidgets,并使用 MinGW-x64 构建了它。在构建二进制文件后,我使用了命令mingw32-make install(在 OpenCV 中使用),它自动安装,文件排列如下所示。
C:\Program Files (x86)\wxWidgets
├───include
│ └───wx
│ ├───android
│ ├───aui
│ ├───dfb
│ ├───generic
│ ├───gtk
│ ├───gtk1
│ ├───html
│ ├───meta
│ ├───motif
│ ├───msw
│ ├───osx
| |...
└───lib
└───gcc_dll
└───mswu
└───wx
但是安装后,我在Code::Blocks-> Settings-> Compiler -> Search Directories处提供了参数Compiler和Linker,但是在编译示例程序时报错,说明程序不规范。
我不知道下一步将库和包含文件与 Code::Blocks 正确关联。我已经用谷歌搜索过了,大多数网络结果在程序中都使用了 makefile.gcc。之后如何在 CodeBlocks 中使用 wxWidgets?
【问题讨论】:
-
任何错误信息都会有所帮助。
标签: windows cmake codeblocks wxwidgets mingw-w64