To be perfectly clear, there should be only few Warnings about use of deprecated functions.
If you don’t have these warnings, then it is highly probable you haven’t use the right version of the gimptools to compule your plug-in.
No errors, and when I move this new gmic_gimp to my plug-ins directory and
start gimp-2.9, select an image to enable the GMIC plug-in and select it, I
get the error I noted. I have other plug-ins that I wrote in python, and
these work without issue.
I edited your post so the bash stuff was escaped properly (hope you don’t mind).
As @David_Tschumperle noted, I don’t see any Warnings being thrown by the compiler, which might indicate that you are using the wrong version of gimptools to compile?
Thanks for the edit, much more readable. I’ve gimptool-2.0 installed. It
thinks it’s associated with 2.8.14 (my previous version of gimp, since
deleted).
I didn’t explicitly use gimptool during plug-in compilation and
“installation”, I simply compiled gmic_gimp and moved the binary to the
plug-ins directory. Am I missing a step?
Yes, if you used the makefile provided in the git repo (probably by typing make gimp), then the gimptools have been called during the compilation. You should try updating your $PATH so that the gimptools for version 2.9 are run by default when calling them from the shell.
Hm. I’ve reached my knowledge boundary. When I look in my gimp 2.9
directory (newly created when gimp 2.9 was compiled), I find a copy of
gimptool-2.0 as well
./gimp/bin/gimptool-2.0
So…starting from scratch, I compiled babl, gegl and gimp from source
again.
I downloaded the gmic source, and invoking “make gimp”, it ends with:
/bin/sh: 1: gimptool-2.0: not found gmic_gimp.cpp:50:21: fatal error: gtk/gtk.h: No such file or directory
#include <gtk/gtk.h>*
^*
compilation terminated.
If I’m not meant to have gimptool-2.0 installed, what am I supposed to have?
As my old physics prof used to say when my electronics lab project didn’t
work, “hell, I can’t see what’s wrong, take it apart and rebuild it over
there”…while pointing to another table.
I updated LD_LIBRARY_PATH to include the new gimp build “lib” directory
(which includes a libgimp-2.0.so object); re-made the gmic-gimp plugin, and
now it works.
I know this is a ridiculously old topic, but I wanted to come in and say that your last post, in particular about setting LD_LIBRARY_PATH really helped me out building a fresh G’MIC against a fresh git GIMP.
alt-text: All long help threads should have a sticky globally-editable post at the top saying ‘DEAR PEOPLE FROM THE FUTURE: Here’s what we’ve figured out so far …’
I’ve tried the compile as instructed in various place, but it doesn’t work. I still get:
"Could not execute plug-in "gmic_gimp_qt"
(/home/ben/gimp/lib/gimp/2.0/plug-ins/gmic_gimp_qt)
because it uses an obsolete version of the plug-in protocol."
Could this be API changes since this post was posted? I’m doing the following before compiling.