Thread Previous • Date Previous • Date Next • Thread Next |
Manveru wrote:
Hi Developers, The following problem appears during build KiCad from rev 2091 over wxWidgets-2.9.0: D:\Projects\KiCad\kicad-bin>C:\Software\MinGW\bin\mingw32-make.exe PATH="%PATH%;C:\Software\MinGW\bin" [ 0%] Building CXX object 3d-viewer/CMakeFiles/3d-viewer.dir/3d_aux.cpp.obj In file included from D:\Projects\KiCad\kicad-svn\3d-viewer\3d_aux.cpp:11: D:/Projects/KiCad/kicad-svn/include/fctsys.h:64:20: config.h: No such file or directory mingw32-make[2]: *** [3d-viewer/CMakeFiles/3d-viewer.dir/3d_aux.cpp.obj] Error 1 mingw32-make[1]: *** [3d-viewer/CMakeFiles/3d-viewer.dir/all] Error 2 mingw32-make: *** [all] Error 2 Adding dummy config.h file solves the problem for now.
Do not do this. Let CMake generate config.h into your build directory.
According to revision history, Wayne adds the line #include "config.h on revision 1774 with comment about dependency checks, but I do not know what is responsible for generation of that file during build process? Please explain. Thank you.
Thread Previous • Date Previous • Date Next • Thread Next |