On 4/2/11 10:53, LucaDC wrote:
When compiling (Windows XP SP3, bzr 10032), I get this error:
Make error line 300: problem compiling: src/2geom/conicsec.cpp:36:41: error: 2geom/conic_section_clipper.h: No such file or directory src/2geom/conicsec.cpp: In function 'bool Geom::clip(std::vector<Geom::RatQuad, std::allocatorGeom::RatQuad >&, const Geom::xAx&, const Geom::Rect&)': src/2geom/conicsec.cpp:1545: error: 'clipper' was not declared in this scope src/2geom/conicsec.cpp:1545: error: expected ';' before 'aclipper' src/2geom/conicsec.cpp:1546: error: 'aclipper' was not declared in this scope src/2geom/conicsec.cpp: At global scope: src/2geom/conicsec.cpp:1543: warning: unused parameter 'cs' src/2geom/conicsec.cpp:1543: warning: unused parameter 'R'
It seems there's a missing file.
... or it is a file that's not needed: on osx (last build r10032) the file 'src/2geom/conicsec.cpp' doesn't get compiled (used) - if I add it in my local branch to 'Makefile_insert' I get the same errors and Inkscape fails to build.
@Johan or @Krzysztof - could you check it that *.cpp file (added in r10028) is needed or if only its header file needs to be in Inkscape's copy of 2geom?
~suv