
I'd like to have a very small exxecutable which only executes a number of little tests with the algorithm I wrote, so I can play with it and fine-tune it faster, without having to compile and link the complete inkscape every time. I placed the attached bezier-tests.cpp in the src directory and tried to compile it:
g++ -Wall -pedantic -I2geom -Ibind -Idebug -Idialogs -Idisplay -Idom -Iextension -Ifilters -Ihelper -Iio -Ilibavoid -Ilibcola -Ilibcroco -Ilibgdl -Ilibnrtype -Ilibvpsc -Ilivarot -Ilive_effects -Ipixmaps -Isvg -Itrace -Iui -Iutil -Iwidgets -Ixml -I. bezier-tests.cpp
But it tells me that there is a file missing:
./2geom/point.h:39:20: fatal error: config.h: No such file or directory
Can somebody tell me how to set it up properly? I'd like to have something like a make target which only compiles the stuff neccessary for using code from bezier-utils.cpp
Alexander