← Back to team overview

kicad-developers team mailing list archive

Re: Rev 2091 build problem under mingw


Manveru wrote:
Hi Developers,

The following problem appears during build KiCad from rev 2091 over

[ 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

Please explain. Thank you.

Follow ups