When I try to compile the Solid library in Windows I get
the following error when compiling the "C-api.cpp" file:
g++.exe -c C-api.cpp -o C-api.o -I"C:/Dev-
Cpp/include/c++" -I"C:/Dev-
Cpp/include/c++/mingw32" -I"C:/Dev-
Cpp/include/c++/backward" -I"C:/Dev-Cpp/include" -
I"C:/Nelson_Goncalves/IdeiaGenial/Software/Colisao/solid
-2.0.2/include" -DNDEBUG -O3 -mwindows -ffast-math -
Wno-deprecated -static
C-api.cpp: In function `void dtVertexIndices
(DtPolyType, unsigned int, const
DtIndex*)':
C-api.cpp:152: parse error before `(' token
And the infamous line reads the following:
poly = new Polygon(currentComplex->getBase(),
count, indices);
Wich, for all I can tell is perfectly ok. When coment this
line everything compiles perfectly. Should it be like this ?