← Back to team overview

kicad-developers team mailing list archive

Re: error when doing cmake on winxp step 9

 

ok i got the GNU toolchain to build and to get wxwidgets to work i had
to set opengl to 1 in setup.h.ln as i had to do for hotkey mousewheel
and glcanvas.

currently im fighting step 9 only trying to generate project files
using cmake for visual studio 2005.

sysuser@LANMASTERCMD ~/kicad/build/release
$ cmake -G "Visual Studio 8 2005" -DCMAKE_BUILD_TYPE=Release
-DwxWidgets_ROOT_DIR=/local/include/wx-2.8/wx/ ../../
-- Check for installed OpenGL -- found
-- Check for installed Boost -- found
-- Could NOT find wxWidgets
-- Check for installed wxWidgets -- not found
CMake Error at CMakeModules/CheckFindPackageResult.cmake:6 (message):
wxWidgets was not found - it is required to build Kicad
Call Stack (most recent call first):
CMakeLists.txt:103 (check_find_package_result)

-- Configuring incomplete, errors occurred!

this same cmake works fine using 

$ cmake -G "MSYS Makefile" -DCMAKE_BUILD_TYPE=Release
-DwxWidgets_ROOT_DIR=/local/include/wx-2.8/wx/ ../../

My next step will be to disable wxwidgets detection in the cmakelist
and manualy set that up in visual studio. but if anyone has any ideas
as to why cmake cant find the same path it found for the msys option,
id be happy to hear back.

eadthem









Follow ups

References