MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010089 | CMake | CMake | public | 2010-01-04 03:54 | 2010-05-10 20:51 |
| Reporter | Timour | ||||
| Assigned To | Miguel Figueroa | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-8 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0010089: wxWidgets compilation problem with MinGW | ||||
| Description | Hello, I tried to compile the wxWidgets Minimal project (located at <wxWidgetsDir>/samples/minimal) using the attached CMakeLists.txt file. CMake generator succeeded but when I invoked make it failed with multiple errors like libwxmsw28_core.a(corelib_window.o):window.cpp:(.text+0x1a7b): undefined reference to `wxSystemOptions::GetOptionInt(wxString const&)' However when I changed line 27 of CMakeLists.txt from find_package(wxWidgets COMPONENTS base core REQUIRED) to find_package(wxWidgets COMPONENTS core base REQUIRED) build succeeded. I spent a lot of time in attempts to fix the problem until I finally tried this permutation and that was frustrating. This CMakeLists.txt file was not invented by myself, it was taken from http://wiki.wxwidgets.org/CMake. [^] I think that the FindwxWidgets module must, if necessary, change the order of components chosen in find_package or indicate an error. System information: Windows XP SP3 MinGW 5.1.6 with gcc 3.4.5 wxWidgets 2.8.10 CMake 2.8 | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/2744/CMakeLists.txt | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-01-04 03:54 | Timour | New Issue | |||
| 2010-01-04 03:54 | Timour | File Added: CMakeLists.txt | |||
| 2010-05-10 16:06 | Miguel Figueroa | Status | new => assigned | ||
| 2010-05-10 16:06 | Miguel Figueroa | Assigned To | => Miguel Figueroa | ||
| 2010-05-10 20:51 | Miguel Figueroa | Note Added: 0020705 | |||
| 2010-05-10 20:51 | Miguel Figueroa | Status | assigned => closed | ||
| 2010-05-10 20:51 | Miguel Figueroa | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||