
19 Apr
2013
19 Apr
'13
9:02 a.m.
On 18/04/13 02:47, Krzysztof Kosiński wrote:
Direct compiling is very hard to get right in this way. For geometry-related work you only really need lib2geom. I would try checking out the source of lib2geom ( https://launchpad.net/lib2geom ), compiling it, then using this:
g++ -Wall bezier-tests.cpp -l2geom -o bezier-tests
You may need to add -I and -L flags which point to directories with lib2geom's config.h file and the lib2geom.a file, respectively.
I switched to building lib2geom instead of inkscape which allows me to build an optimized binary within 2sec, thank you very much for suggesting that :-)
Alexander