← Back to team overview

kicad-developers team mailing list archive

Trouble with cmake

 

I'm trying to create the makefiles for kicad, but whenever I run the
cmake command it gives me an error:


Dan@DanC_Laptop /c/users/dan/workspaces/kicadr/src/kicad_testing/build/Debug
$ cmake -G "Eclipse CDT4 - MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug
-DKICAD_TESTING_VERSION=ON
-DwxWidgets_ROOT_DIR=C:/Users/Dan/Workspaces/kicad-winbuilder/src/wxWidgets-2.9.2/Release
../../
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Build testing (unstable) version of Kicad
-- Check for installed OpenGL -- found
-- 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:205 (check_find_package_result)


-- Configuring incomplete, errors occurred!

This is the first time I've tried to make kicad without the
kicad-Winbuilder script.  I notice that in the kicad-Winbuilder script
it is invoking make on makefile.gcc in the build/msw directory.
However when I built it from scratch I followed the directions in
compiling.txt which says to make and enter a directory called release
and then call

../configure --enable-unicode --enable-monolithic=no --disable-shared
--with-opengl
    make

Can someone help me out in where I'm supposed to point  wxWidgets_ROOT_DIR to

Thanks Dan C


Follow ups