Installed GIMP 2.10 specifically to utilize this batch plugin... however, the console seems to indicate some bad references?
Any help is appreciated.
Linux Mint (19) - (full output follows):
which gimptool-2.0 && \
gcc -o ./bin/bimp -O2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 -Wall -Wno-unused-variable -Wno-pointer-sign -DGIMP_DISABLE_DEPRECATED src/.c src/manipulation-gui/.c src/images/*.c -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lm
/usr/bin/gimptool-2.0
src/bimp-manipulations-gui.c: In function ‘bimp_open_editwindow’:
src/bimp-manipulations-gui.c:48:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_resize_save;
^
src/bimp-manipulations-gui.c:52:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_crop_save;
^
src/bimp-manipulations-gui.c:56:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_fliprotate_save;
^
src/bimp-manipulations-gui.c:60:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_color_save;
^
src/bimp-manipulations-gui.c:64:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_sharpblur_save;
^
src/bimp-manipulations-gui.c:68:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_changeformat_save;
^
src/bimp-manipulations-gui.c:72:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_watermark_save;
^
src/bimp-manipulations-gui.c:76:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_rename_save;
^
src/bimp-manipulations-gui.c:80:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_userdef_save;
^
src/bimp-operate.c: In function ‘apply_resize’:
src/bimp-operate.c:517:13: error: ‘GIMP_LAYER_MODE_NORMAL_LEGACY’ undeclared (first use in this function)
GIMP_LAYER_MODE_NORMAL_LEGACY
^~~~~~~~~
src/bimp-operate.c:517:13: note: each undeclared identifier is reported only once for each function it appears in
src/bimp-operate.c:535:37: error: ‘GIMP_FILL_BACKGROUND’ undeclared (first use in this function); did you mean ‘GIMP_OFFSET_BACKGROUND’?
gimp_drawable_fill(layerId, GIMP_FILL_BACKGROUND);
^~~~~~~~
GIMP_OFFSET_BACKGROUND
src/bimp-operate.c:539:9: warning: implicit declaration of function ‘gimp_item_transform_translate’; did you mean ‘gimp_item_transform_rotate’? [-Wimplicit-function-declaration]
gimp_item_transform_translate(layerId, -abs(view_w - final_w) / 2, -abs(view_h - final_h) / 2);
^~~~~~~~~
gimp_item_transform_rotate
src/bimp-operate.c: In function ‘apply_color’:
src/bimp-operate.c:668:23: warning: implicit declaration of function ‘gimp_drawable_brightness_contrast’; did you mean ‘gimp_brightness_contrast’? [-Wimplicit-function-declaration]
success = gimp_drawable_brightness_contrast(
^~~~~~~~~
gimp_brightness_contrast
src/bimp-operate.c:685:23: warning: implicit declaration of function ‘gimp_drawable_levels_stretch’; did you mean ‘gimp_levels_stretch’? [-Wimplicit-function-declaration]
success = gimp_drawable_levels_stretch(out->drawable_ids[i]);
^~~~~~~~
gimp_levels_stretch
src/bimp-operate.c:711:31: warning: implicit declaration of function ‘gimp_drawable_curves_spline’; did you mean ‘gimp_drawable_set_pixel’? [-Wimplicit-function-declaration]
success = gimp_drawable_curves_spline(out->drawable_ids[i], GIMP_HISTOGRAM_VALUE, colorcurve_num_points_v, colorcurve_ctr_points_v);
^~~~~~~
gimp_drawable_set_pixel
src/bimp-operate.c: In function ‘image_save’:
src/bimp-operate.c:1115:17: error: ‘GIMP_CONVERT_DITHER_FS’ undeclared (first use in this function); did you mean ‘GIMP_FIXED_DITHER’?
GIMP_CONVERT_DITHER_FS,
^~~~~~
GIMP_FIXED_DITHER
src/bimp-operate.c:1116:17: error: ‘GIMP_CONVERT_PALETTE_GENERATE’ undeclared (first use in this function); did you mean ‘GIMP_TYPE_CONVERT_PALETTE_TYPE’?
GIMP_CONVERT_PALETTE_GENERATE,
^~~~~~~~~
GIMP_TYPE_CONVERT_PALETTE_TYPE
src/bimp-operate.c: In function ‘image_save_gif’:
src/bimp-operate.c:1192:9: error: ‘GIMP_CONVERT_DITHER_FS’ undeclared (first use in this function); did you mean ‘GIMP_FIXED_DITHER’?
GIMP_CONVERT_DITHER_FS,
^~~~~~
GIMP_FIXED_DITHER
src/bimp-operate.c:1193:9: error: ‘GIMP_CONVERT_PALETTE_GENERATE’ undeclared (first use in this function); did you mean ‘GIMP_TYPE_CONVERT_PALETTE_TYPE’?
GIMP_CONVERT_PALETTE_GENERATE,
^~~~~~~~~
GIMP_TYPE_CONVERT_PALETTE_TYPE
src/bimp-operate.c: In function ‘image_save_avif’:
src/bimp-operate.c:1409:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
src/bimp-utils.c: In function ‘get_bimp_localedir’:
src/bimp-utils.c:172:5: warning: ignoring return value of ‘readlink’, declared with attribute warn_unused_result [-Wunused-result]
readlink("/proc/self/exe", path, bufsize);
^~~~~~~~~
Makefile:9: recipe for target 'make' failed
make: *** [make] Error 1
Installed GIMP 2.10 specifically to utilize this batch plugin... however, the console seems to indicate some bad references? Any help is appreciated. Linux Mint (19) - (full output follows):
which gimptool-2.0 && \ gcc -o ./bin/bimp -O2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 -Wall -Wno-unused-variable -Wno-pointer-sign -DGIMP_DISABLE_DEPRECATED src/.c src/manipulation-gui/.c src/images/*.c -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lm /usr/bin/gimptool-2.0 src/bimp-manipulations-gui.c: In function ‘bimp_open_editwindow’: src/bimp-manipulations-gui.c:48:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] save = &bimp_resize_save; ^ src/bimp-manipulations-gui.c:52:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] save = &bimp_crop_save; ^ src/bimp-manipulations-gui.c:56:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] save = &bimp_fliprotate_save; ^ src/bimp-manipulations-gui.c:60:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] save = &bimp_color_save; ^ src/bimp-manipulations-gui.c:64:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] save = &bimp_sharpblur_save; ^ src/bimp-manipulations-gui.c:68:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] save = &bimp_changeformat_save; ^ src/bimp-manipulations-gui.c:72:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] save = &bimp_watermark_save; ^ src/bimp-manipulations-gui.c:76:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] save = &bimp_rename_save; ^ src/bimp-manipulations-gui.c:80:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] save = &bimp_userdef_save; ^ src/bimp-operate.c: In function ‘apply_resize’: src/bimp-operate.c:517:13: error: ‘GIMP_LAYER_MODE_NORMAL_LEGACY’ undeclared (first use in this function) GIMP_LAYER_MODE_NORMAL_LEGACY ^
~~~~~~~~ src/bimp-operate.c:517:13: note: each undeclared identifier is reported only once for each function it appears in src/bimp-operate.c:535:37: error: ‘GIMP_FILL_BACKGROUND’ undeclared (first use in this function); did you mean ‘GIMP_OFFSET_BACKGROUND’? gimp_drawable_fill(layerId, GIMP_FILL_BACKGROUND); ^~~~~~~~ GIMP_OFFSET_BACKGROUND src/bimp-operate.c:539:9: warning: implicit declaration of function ‘gimp_item_transform_translate’; did you mean ‘gimp_item_transform_rotate’? [-Wimplicit-function-declaration] gimp_item_transform_translate(layerId, -abs(view_w - final_w) / 2, -abs(view_h - final_h) / 2); ^~~~~~~~~ gimp_item_transform_rotate src/bimp-operate.c: In function ‘apply_color’: src/bimp-operate.c:668:23: warning: implicit declaration of function ‘gimp_drawable_brightness_contrast’; did you mean ‘gimp_brightness_contrast’? [-Wimplicit-function-declaration] success = gimp_drawable_brightness_contrast( ^~~~~~~~~ gimp_brightness_contrast src/bimp-operate.c:685:23: warning: implicit declaration of function ‘gimp_drawable_levels_stretch’; did you mean ‘gimp_levels_stretch’? [-Wimplicit-function-declaration] success = gimp_drawable_levels_stretch(out->drawable_ids[i]); ^~~~~~~~ gimp_levels_stretch src/bimp-operate.c:711:31: warning: implicit declaration of function ‘gimp_drawable_curves_spline’; did you mean ‘gimp_drawable_set_pixel’? [-Wimplicit-function-declaration] success = gimp_drawable_curves_spline(out->drawable_ids[i], GIMP_HISTOGRAM_VALUE, colorcurve_num_points_v, colorcurve_ctr_points_v); ^~~~~~~ gimp_drawable_set_pixel src/bimp-operate.c: In function ‘image_save’: src/bimp-operate.c:1115:17: error: ‘GIMP_CONVERT_DITHER_FS’ undeclared (first use in this function); did you mean ‘GIMP_FIXED_DITHER’? GIMP_CONVERT_DITHER_FS, ^~~~~~ GIMP_FIXED_DITHER src/bimp-operate.c:1116:17: error: ‘GIMP_CONVERT_PALETTE_GENERATE’ undeclared (first use in this function); did you mean ‘GIMP_TYPE_CONVERT_PALETTE_TYPE’? GIMP_CONVERT_PALETTE_GENERATE, ^~~~~~~~~ GIMP_TYPE_CONVERT_PALETTE_TYPE src/bimp-operate.c: In function ‘image_save_gif’: src/bimp-operate.c:1192:9: error: ‘GIMP_CONVERT_DITHER_FS’ undeclared (first use in this function); did you mean ‘GIMP_FIXED_DITHER’? GIMP_CONVERT_DITHER_FS, ^~~~~~ GIMP_FIXED_DITHER src/bimp-operate.c:1193:9: error: ‘GIMP_CONVERT_PALETTE_GENERATE’ undeclared (first use in this function); did you mean ‘GIMP_TYPE_CONVERT_PALETTE_TYPE’? GIMP_CONVERT_PALETTE_GENERATE, ^~~~~~~~~ GIMP_TYPE_CONVERT_PALETTE_TYPE src/bimp-operate.c: In function ‘image_save_avif’: src/bimp-operate.c:1409:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ src/bimp-utils.c: In function ‘get_bimp_localedir’: src/bimp-utils.c:172:5: warning: ignoring return value of ‘readlink’, declared with attribute warn_unused_result [-Wunused-result] readlink("/proc/self/exe", path, bufsize); ^~~~~~~~~Makefile:9: recipe for target 'make' failed make: *** [make] Error 1