MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015928 | CMake | Modules | public | 2016-01-19 11:47 | 2016-06-10 14:31 |
Reporter | deaths_soul | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | CMake 3.4.1 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015928: FindwxWidgets Fails | ||||
Description | When I try to use FindwxWidgets in CMake 3.4.1, I keep getting the following error: CMake Error at /usr/share/cmake/Modules/FindwxWidgets.cmake:870 (message): wxWidgets wx/version.h file not found in /home/User/Code/wxWidgets/win_build32/lib/wx/include/i686-w64-mingw32-msw-unicode-static-3.0;/home/User/Code/wxWidgets/include. Even though the file exists and I've even made a symlink in the other location to make sure. In either case, I get that error. However, if I downgrade to CMake 3.3.2, everything works as it should. The full path to wx/version.h is /home/User/Code/wxWidgets/include/wx/version.h. In CMakeCache.txt, the _filename variable is set as follows: _filename:FILEPATH=_filename-NOTFOUND It's set to this value in both the CMakeCache.txt for 3.3.2 and 3.4.1. In testing, I even deleted the working directory and started from a clean slate and the issue still occurred with 3.4.1. This is under Fedora 23 and cross-compiling using MinGW. The wxWidgets library is self-compiled. CMAKE_FIND_ROOT_PATH is set to usr/x86_64-w64-mingw32/sys-root/mingw or /usr/i686-w64-mingw32/sys-root/mingw depending on which architecture I'm building for. I use a mixture of libraries from the repos and self-built, though. CMAKE_FIND_ROOT_PATH_MODE_INCLUDE is set to ONLY. Manually passing -D_filename=/home/User/Code/wxWidgets/include/wx/version.h when I run the CMake configuration fixes the issue. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-01-19 11:47 | deaths_soul | New Issue | |||
2016-01-19 14:21 | Brad King | Note Added: 0040264 | |||
2016-01-19 14:28 | Brad King | Note Added: 0040265 | |||
2016-01-19 14:32 | Richard Shaw | Note Added: 0040266 | |||
2016-01-19 14:34 | deaths_soul | Note Added: 0040267 | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042917 | |||
2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|