← Back to team overview

kicad-developers team mailing list archive

CMake fails to find wxWidget in a fresh Ubuntu 14.04 install when trying to build KiCad

 

Hello guys,

My problem with wxWidget 3.0 and CMake continues, I've tried to make this work for at least 10 hours now, and can't find any solution anywhere. I'm too noob with linux for the moment.

List of what I tried:
    Installing latest wxWidget package (3.0.2)
    Removing wx2.8
    Removing wx3.0.2
    Installing wx3.0.0...

Each of the wx3.0.2 and 3.0.0 install were returning correct version number to the command wx-config --verion-full. I created a link each tim using sudo ln -sv wx-3.0/wx wx ...But still, cmake try to find a 3.0 minimum required version in a wx-2.8 folder which doesn't exist anymore... Here is the terminal output below: I give up for today...

purebasic@purebasic-VirtualBox:~/build/kicad/kicad.bzr/build$ cmake ../CMake Error at CMakeModules/FindwxWidgets.cmake:868 (file):
  file Internal CMake error when trying to open file:
  /usr/include//_*wx-2.8*_//wx/version.h for reading.
Call Stack (most recent call first):
  CMakeLists.txt:411 (find_package)


CMake Error at CMakeModules/FindPackageHandleStandardArgs.cmake:136 (message): Could NOT find wxWidgets: Found unsuitable version "..", but required is at
  least "3.0.0" (found
-L/usr/lib/i386-linux-gnu;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_baseu_xml-3.0)
Call Stack (most recent call first):
CMakeModules/FindPackageHandleStandardArgs.cmake:341 (_FPHSA_FAILURE_MESSAGE)
  CMakeModules/FindwxWidgets.cmake:902 (find_package_handle_standard_args)
  CMakeLists.txt:411 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/purebasic/build/kicad/kicad.bzr/build/CMakeFiles/CMakeOutput.log".





Follow ups