kicad-developers team mailing list archive
Mailing list archive
Re: Rev 2091 build problem under mingw
Dick Hollenbeck <dick@...>
Fri, 13 Nov 2009 07:21:11 -0600
Thunderbird 126.96.36.199 (X11/20090817)
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: *** [3d-viewer/CMakeFiles/3d-viewer.dir/3d_aux.cpp.obj] Error 1
mingw32-make: *** [3d-viewer/CMakeFiles/3d-viewer.dir/all] Error 2
mingw32-make: *** [all] Error 2
Adding dummy config.h file solves the problem for now.
According to revision history, Wayne adds the line
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.
The config file is generated by the cmake and is put into the build
directory, not the source directory. This way you can have alternative
builds which are customize to some extent by the contents of config.h.
The compiler include path has to also include the "build path" now,
which is typically <something>/release or <something>/debug
Verify that your config.h file exists in your build directory. Then
and verify that the -I option that you see being passed to g++ includes
a path segment to your build directory which is where you have confirmed
that the config.h file exists.