kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #01902
Re: error when doing cmake on winxp step 9
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"eadthemm" <padamsn@...>
-
Date:
Wed, 22 Oct 2008 21:26:20 -0000
-
In-reply-to:
<e96e29a80810220918h3c14be4v6f08dd61f12d0a23@...>
-
User-agent:
eGroups-EW/0.82
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