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

redeye

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.

redeye SnapafunFrank 16 Apr 13:39
  redeye Rikard Johnels 16 Apr 14:13
  redeye Arnd Baecker 16 Apr 14:53
SnapafunFrank
2006-04-16 13:39:14 UTC (about 18 years ago)

redeye

As a newbie user yet to actually use gimp for stuff more than resizing or adding text, I tried to install the plugin 'redeye.c'

[frank@snapafun Gimp]$ gimptool-2.0 --install redeye.c /usr/bin/install -c -d /home/frank/.gimp-2.2/plug-ins gcc -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -ffast-math -Wall -I/usr/include/gimp-2.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/freetype2 -I/usr/include/freetype2/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o /home/frank/.gimp-2.2/plug-ins/redeye redeye.c -L/usr/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimp-2.0 -lgimpcolor-2.0 -lgimpmath-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 redeye.c:79:26: libgimp/gimp.h: No such file or directory redeye.c:80:28: libgimp/gimpui.h: No such file or directory redeye.c:93: warning: type defaults to `int' in declaration of `gchar' redeye.c:93: error: syntax error before '*' token redeye.c:99: error: syntax error before '*' token redeye.c:114: error: syntax error before "PLUG_IN_INFO" redeye.c:114: warning: type defaults to `int' in declaration of `PLUG_IN_INFO'
redeye.c:116: warning: initialization makes integer from pointer without a cast
redeye.c:117: warning: excess elements in scalar initializer redeye.c:117: warning: (near initialization for `PLUG_IN_INFO') redeye.c:118: warning: excess elements in scalar initializer redeye.c:118: warning: (near initialization for `PLUG_IN_INFO') redeye.c:119: warning: excess elements in scalar initializer redeye.c:119: warning: (near initialization for `PLUG_IN_INFO') redeye.c:120: warning: data definition has no type or storage class redeye.c:125: warning: return type defaults to `int' redeye.c: In function `MAIN':
redeye.c:127: error: storage class specified for parameter `query' redeye.c:127: error: syntax error before '{' token redeye.c:260: error: parameter `__result' is initialized redeye.c:260: error: `name' undeclared (first use in this function) redeye.c:260: error: (Each undeclared identifier is reported only once redeye.c:260: error: for each function it appears in.) redeye.c:260: confused by earlier errors, bailing out [frank@snapafun Gimp]$

Any suggestions anyone?

Rikard Johnels
2006-04-16 14:13:58 UTC (about 18 years ago)

redeye

On Sunday 16 April 2006 13:39, SnapafunFrank wrote:

redeye.c:79:26: libgimp/gimp.h: No such file or directory redeye.c:80:28: libgimp/gimpui.h: No such file or directory

Have you installed the development libs (libgimp) for gimp?

Arnd Baecker
2006-04-16 14:53:05 UTC (about 18 years ago)

redeye

Hi,

On Sun, 16 Apr 2006, SnapafunFrank wrote:

As a newbie user yet to actually use gimp for stuff more than resizing or adding text, I tried to install the plugin 'redeye.c'

As usual these messages are a little hard to parse when one encounters them first time. The important thing is to look for the very first error:

[frank@snapafun Gimp]$ gimptool-2.0 --install redeye.c /usr/bin/install -c -d /home/frank/.gimp-2.2/plug-ins gcc -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -ffast-math -Wall -I/usr/include/gimp-2.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/freetype2 -I/usr/include/freetype2/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o /home/frank/.gimp-2.2/plug-ins/redeye redeye.c -L/usr/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimp-2.0 -lgimpcolor-2.0 -lgimpmath-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 redeye.c:79:26: libgimp/gimp.h: No such file or directory redeye.c:80:28: libgimp/gimpui.h: No such file or directory

You will need to install the header files for libgimp. E.g., for debian sarge these are in `libgimp2.0-dev`

[... all the rest are follow-up errors ...]

HTH, Arnd