We've upgraded from wxWidgets 2.8.10 to 3.0.2 and our CMake scripts can no 
longer find the required wxWidgets libs. The wxWidgets shared object files 
have been built and exist in the same directory structure as the 2.8.10 
version. Any help would be greatly appreciated. Thank you

Here is the find_package line used in our CMakeLists.txt file

IF(UNIX)
    find_package( wxWidgets REQUIRED base core xrc net adv xml html qa aui )
ELSE(UNIX)
    find_package( wxWidgets REQUIRED base core xrc net adv xml html qa aui )
ENDIF(UNIX)

The errors are below:

-- Turning off rpaths
-- /home/mzx_bldr/mozaix_svn/engineering/common_src/src/wxWidgets-
3.0.2/buildgtk/wx-config
CMake Error at /home/mzx_bldr/cmake_versions/cmake-3.2.3-Linux-
i386/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 
(message):
  Could NOT find wxWidgets (missing: wxWidgets_FOUND)
Call Stack (most recent call first):
  /home/mzx_bldr/cmake_versions/cmake-3.2.3-Linux-i386/share/cmake-
3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  /home/mzx_bldr/cmake_versions/cmake-3.2.3-Linux-i386/share/cmake-
3.2/Modules/FindwxWidgets.cmake:870 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:386 (find_package)



-- 

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

Reply via email to