pencil-context.cpp: In function 'void sketch_interpolate(SPPencilContext*)': pencil-context.cpp:827: error: no matching function for call to 'lerp(Geom::Piecewise<Geom::D2Geom::SBasis >&, Geom::Piecewise<Geom::D2Geom::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...
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...
On Wed, Jan 7, 2009 at 11:39 PM, bulia byak <buliabyak@...400...> wrote:
pencil-context.cpp: In function 'void sketch_interpolate(SPPencilContext*)': pencil-context.cpp:827: error: no matching function for call to 'lerp(Geom::Piecewise<Geom::D2Geom::SBasis >&, Geom::Piecewise<Geom::D2Geom::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
-----Original Message----- From: bulia byak [mailto:buliabyak@...400...] Sent: Thursday, January 08, 2009 02:40 To: Engelen, J.B.C. (Johan); Inkscape Devel List Subject: compile error rev 20476
pencil-context.cpp: In function 'void sketch_interpolate(SPPencilContext*)': pencil-context.cpp:827: error: no matching function for call to 'lerp(Geom::Piecewise<Geom::D2Geom::SBasis >&, Geom::Piecewise<Geom::D2Geom::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...
Of course I did...
Sorry I broke things. I don't know why my build worked just fine.
In any case, yes the reordering is correct. To fix the linking error, maybe this works: revert removal of #define HAVE_GSL (http://inkscape.svn.sourceforge.net/viewvc/inkscape/inkscape/trunk/src/ 2geom/poly.cpp?r1=20474&r2=20473&pathrev=20474)
-----Original Message----- From: Felipe Sanches [mailto:felipe.sanches@...400...] Sent: Thursday, January 08, 2009 04:48 To: bulia byak Cc: Engelen, J.B.C. (Johan); Inkscape Devel List Subject: Re: [Inkscape-devel] compile error rev 20476
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:5 85: 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/t runk/src/2geom/piecewise.h?r1=20474&r2=20473&pathrev=20474
On Wed, Jan 7, 2009 at 11:39 PM, bulia byak <buliabyak@...400...> wrote:
pencil-context.cpp: In function 'void sketch_interpolate(SPPencilContext*)': pencil-context.cpp:827: error: no matching function for call to 'lerp(Geom::Piecewise<Geom::D2Geom::SBasis >&, Geom::Piecewise<Geom::D2Geom::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
-----Original Message----- From: J.B.C.Engelen@...1578... [mailto:J.B.C.Engelen@...1578...] Sent: Thursday, January 08, 2009 10:36 To: felipe.sanches@...400...; buliabyak@...400... Cc: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] compile error rev 20476
Sorry I broke things. I don't know why my build worked just fine.
Ok, I know now. Apparently when copying files, the timestamp of the file is taken from the copied file, instead of setting it to the time of copying. So a couple of changed 2geom files were not flagged as changed. I'll try to remember to be more careful next time.
participants (3)
-
unknown@example.com
-
bulia byak
-
Felipe Sanches