The following issue has been SUBMITTED. ====================================================================== https://cmake.org/Bug/view.php?id=16090 ====================================================================== Reported By: Jason Yundt Assigned To: ====================================================================== Project: CMake Issue ID: 16090 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2016-05-02 19:34 EDT Last Modified: 2016-05-02 19:34 EDT ====================================================================== Summary: FindwxWidgets looks in /usr/include/wx-2.8/ for wxWidgets 3.0 Description: I was trying to build SLADE v3.1.1.1 (slade.mancubus.net), but when cmake got to the following line in src/CMakeLists.txt,
find_package(wxWidgets 3.0 COMPONENTS std aui gl stc richtext propgrid media webview REQUIRED) it crashes with the following: jayman@computer-4:~/src/doom/tools/slade/slade-stable/dist> cmake .. CMake Error at /usr/share/cmake/Modules/FindwxWidgets.cmake:861 (file): file failed to open for reading (No such file or directory): /usr/include/wx-2.8/wx/version.h Call Stack (most recent call first): src/CMakeLists.txt:5 (find_package) CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find wxWidgets: Found unsuitable version "..", but required is at least "3.0" (found -L/usr/lib64;-pthread;;;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_gl-3.0;-lwx_gtk3u_stc-3.0;-lwx_gtk3u_richtext-3.0;-lwx_gtk3u_propgrid-3.0;-lwx_gtk3u_media-3.0;-lwx_gtk3u_xrc-3.0;-lwx_gtk3u_webview-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_qa-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu_xml-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:386 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindwxWidgets.cmake:887 (find_package_handle_standard_args) src/CMakeLists.txt:5 (find_package) -- Configuring incomplete, errors occurred! See also "/home/jayman/src/doom/tools/slade/slade-stable/dist/CMakeFiles/CMakeOutput.log". jayman@computer-4:~/src/doom/tools/slade/slade-stable/dist> Steps to Reproduce: 1. Install wxWidgets 3.0 GTK3 (sudo zypper install wxGTK3-3_0-devel) 2. Get SLADE stable sources: a. git clone https://github.com/sirjuddington/SLADE.git slade b. git checkout stable 3. cd slade/dist 4. cmake .. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2016-05-02 19:34 Jason Yundt New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers