← Back to team overview

kicad-developers team mailing list archive

Re: Re: error when doing cmake on winxp step 9

 

2008/10/22 eadthemm <padamsn@...>:
> 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.
>

I do not have to do this for vanilla wxWidgets source...

> 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
>

Compilers other than GCC are _not supported_ (and probably won't be)

However You may want to see:
http://manveru.pl/node/3

Mateusz

-- 
AKA f3nix AKA metyl AKA skowri ;)

 




References