RSS/Atom feed Twitter
Site is read-only, email is disabled

gimp-2.8 - demo C++ plug-in

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

gimp-2.8 - demo C++ plug-in FBergemann 22 Dec 12:43
  gimp-2.8 - demo C++ plug-in Partha Bagchi 22 Dec 13:29
   gimp-2.8 - demo C++ plug-in FBergemann 26 Dec 18:39
2012-12-22 12:43:47 UTC (over 12 years ago)
postings
2

gimp-2.8 - demo C++ plug-in

i compiled gimp. 2.8 on my ubuntu according: http://www.gimpusers.com/tutorials/compiling-gimp-for-ubuntu Now i want to write my own (C++) plug-in and tried this as a start: http://developer.gimp.org/writing-a-plug-in/1/index.html

But it complains - i get an error message: ---------------------------------------- Hello world Message
Could not execute plug-in "hello"
(/home/frank/.gimp-2.8/plug-ins/hello) because it uses an obsolete version of the plug-in protocol.

GIMP Message

Plug-in crashed: "hello" (/home/frank/.gimp-2.8/plug-ins/hello)

The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side. ----------------------------------------

Where can i get some example, which is according the current interface definitions. Preferrable some, which actually does some simple image processing, e.g. mirror picture.

- many thanks!

best regards, Frank

Partha Bagchi
2012-12-22 13:29:44 UTC (over 12 years ago)

gimp-2.8 - demo C++ plug-in

Look at the goat exercise plugin.

On Sat, Dec 22, 2012 at 7:43 AM, FBergemann wrote:

i compiled gimp. 2.8 on my ubuntu according: http://www.gimpusers.com/tutorials/compiling-gimp-for-ubuntu Now i want to write my own (C++) plug-in and tried this as a start: http://developer.gimp.org/writing-a-plug-in/1/index.html

But it complains - i get an error message: ---------------------------------------- Hello world Message
Could not execute plug-in "hello"
(/home/frank/.gimp-2.8/plug-ins/hello) because it uses an obsolete version of the plug-in protocol.

GIMP Message

Plug-in crashed: "hello" (/home/frank/.gimp-2.8/plug-ins/hello)

The dying plug-in may have messed up GIMP's internal state. You may want to save
your images and restart GIMP to be on the safe side. ----------------------------------------

Where can i get some example, which is according the current interface definitions.
Preferrable some, which actually does some simple image processing, e.g. mirror
picture.

- many thanks!

best regards, Frank

--
FBergemann (via www.gimpusers.com/forums) _______________________________________________ gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list

2012-12-26 18:39:35 UTC (over 12 years ago)
postings
2

gimp-2.8 - demo C++ plug-in

Look at the goat exercise plugin.

Thanks, did that.
For that i compiled the latest sources now (http://wiki.meetthegimp.org/doku.php?id=compiling_2.7_under_linux_debian_esp) - including GEGL.
But when i just replicate the example ./gimp/plug-ins/common/convolution-matrix.c And try to build a second version by this: /opt/gimp-2.9/bin/gimptool-2.0 --install convolution-matrix-2.c I get the same error for invoking it(?!)

Can somebody please help me? - thanks!

best regards,
Frank