by looking at johan's commit updating 2geom(*) it seems to me that the prototype of the lerp function has changed (the single change was a reordering of paremeters). So, I guess it is ok to just change the order of parameters in the lerp call in pencil-context.cpp:827
I have done that in my local copy to fix the build but then I got a linking error:
2geom/lib2geom.a(svg-elliptical-arc.o): In function `Geom::SVGEllipticalArc::allNearestPoints(Geom::Point const&, double, double) const':
/home/felipe/devel/inkscape/src/2geom/svg-elliptical-arc.cpp:585: undefined reference to `Geom::solve_reals(Geom::Poly const&)'
collect2: ld returned 1 exit status
and this one I was not able to fix
Juca
(*) http://inkscape.svn.sourceforge.net/viewvc/inkscape/inkscape/trunk/src/2geom/piecewise.h?r1=20474&r2=20473&pathrev=20474
pencil-context.cpp: In function 'void sketch_interpolate(SPPencilContext*)':
pencil-context.cpp:827: error: no matching function for call to
'lerp(Geom::Piecewise<Geom::D2<Geom::SBasis> >&,
Geom::Piecewise<Geom::D2<Geom::SBasis> >&, double&)'
./2geom/point.h:211: note: candidates are: Geom::Point
Geom::lerp(double, Geom::Point, Geom::Point)
./2geom/linear.h:51: note: double Geom::lerp(double,
double, double)
please always recompile before committing...
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel