kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #11918
Compilation of revno 4578 fails
Hello,
during the compilation of KiCAD revno 4578 I've got the following error message from the compiler:
[ 40%] Building CXX object common/CMakeFiles/common.dir/base_struct.cpp.obj
In file included from c:\tdm-gcc-32\lib\gcc\mingw32\4.8.1\include\c++\mingw32\bits\gthr-default.h:35:0,
from c:\tdm-gcc-32\lib\gcc\mingw32\4.8.1\include\c++\mingw32\bits\gthr.h:148,
from c:\tdm-gcc-32\lib\gcc\mingw32\4.8.1\include\c++\ext\atomicity.h:33,
from c:\tdm-gcc-32\lib\gcc\mingw32\4.8.1\include\c++\bits\basic_string.h:39,
from c:\tdm-gcc-32\lib\gcc\mingw32\4.8.1\include\c++\string:52,
from C:/MinGW/msys/1.0/include/wx-3.0/wx/stringimpl.h:66,
from C:/MinGW/msys/1.0/include/wx-3.0/wx/unichar.h:15,
from C:/MinGW/msys/1.0/include/wx-3.0/wx/strvararg.h:22,
from C:/MinGW/msys/1.0/include/wx-3.0/wx/string.h:46,
from C:/MinGW/msys/1.0/include/wx-3.0/wx/memory.h:15,
from C:/MinGW/msys/1.0/include/wx-3.0/wx/object.h:19,
from C:/MinGW/msys/1.0/include/wx-3.0/wx/wx.h:15,
from d:/Development/workspace-kicad/kicad/include/fctsys.h:7,
from d:/Development/workspace-kicad/kicad/common/base_struct.cpp:30:
d:/Development/workspace-kicad/kicad/include/kicad_string.h:181:58: error: expected unqualified-id before 'char'
extern "C" char* strtok_r( char* str, const char* delim, char** nextp );
^
d:/Development/workspace-kicad/kicad/include/kicad_string.h:181:58: error: expected ')' before 'char'
d:/Development/workspace-kicad/kicad/include/kicad_string.h:181:58: error: expected ')' before 'char'
d:/Development/workspace-kicad/kicad/include/kicad_string.h:181:58: error: expected initializer before 'char'
make[2]: *** [common/CMakeFiles/common.dir/base_struct.cpp.obj] Error 1
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
make: *** [all] Error 2
Does anyone know what might be the problem or how to fix it?
I've called cmake as follows: cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DKICAD_TESTING_VERSION=ON
Regards,
Arius
Follow ups