GNOME Bugzilla – Bug 784154
GIMP compilation fails In function ‘gimp_mybrush_core_motion’
Last modified: 2017-07-02 07:00:08 UTC
24.06.2017 - Compilation error: CC gimpinkundo.o CC gimpmybrushcore.o CC gimpmybrushoptions.o CC gimpmybrushsurface.o CC gimppaintcore.o CC gimppaintcore-loops.o gimpmybrushcore.c: In function ‘gimp_mybrush_core_motion’: gimpmybrushcore.c:281:11: error: too few arguments to function ‘mypaint_brush_stroke_to’ mypaint_brush_stroke_to (brush, ^~~~~~~~~~~~~~~~~~~~~~~ In file included from gimpmybrushcore.c:26:0: /usr/include/libmypaint/mypaint-brush.h:44:1: note: declared here mypaint_brush_stroke_to(MyPaintBrush *self, MyPaintSurface *surface, float x, float y, ^~~~~~~~~~~~~~~~~~~~~~~ gimpmybrushcore.c:317:7: error: too few arguments to function ‘mypaint_brush_stroke_to’ mypaint_brush_stroke_to (brush, ^~~~~~~~~~~~~~~~~~~~~~~ In file included from gimpmybrushcore.c:26:0: /usr/include/libmypaint/mypaint-brush.h:44:1: note: declared here mypaint_brush_stroke_to(MyPaintBrush *self, MyPaintSurface *surface, float x, float y, ^~~~~~~~~~~~~~~~~~~~~~~ The error is repeated every time you try to compile.
Wasn't it the recent problem with libmypaint, hence a duplicate of bug 783936? I have not followed everything in details, but the bug report on libmypaint side was mentionning stroke_to() API: https://github.com/mypaint/libmypaint/issues/92
It is the same issue, but resolving it as a duplicate might be premature if we want to adjust the master branch to the libmypaint-2.0 API later on. alilakri, for the time being, make sure that you build against libmypaint 1.3.0
Hi ! ;) Using libmypaint 1.3.0 compilation runs correctly but this is not a solution for the future as I think... Regards :)
libmypaint just versioned all their files in git master, so installing it doesn't interfere with the previously installed 1.3.0.