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

Errors while compiling Plug-ins SOLVED!

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.

4 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Errors while compiling Plug-ins Nat 14 Feb 22:30
ng@latinae.demon.nl 07 Oct 20:15
  Errors while compiling Plug-ins Jeff Trefftzs 15 Feb 00:08
   Errors while compiling Plug-ins Nat 15 Feb 00:43
   Errors while compiling Plug-ins SOLVED! Nat 15 Feb 00:51
Nat
2003-02-14 22:30:36 UTC (about 21 years ago)

Errors while compiling Plug-ins

Hi,

I tried to install some new plug-ins. The plug-ins that didn't compile all gave the same parse errors.

$ gimptool --install fsdither.c gcc -O2 -march=i386 -mcpu=i686 -Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o /home/nat/.gimp-1.2/plug-ins/fsdither fsdither.c -L/usr/lib -lgimpui -lgimp -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
fsdither.c:61: parse error before `GParam' fsdither.c:65: parse error before `*' fsdither.c:103: parse error before `PLUG_IN_INFO' fsdither.c:103: warning: type defaults to `int' in declaration of `PLUG_IN_INFO'fsdither.c:105: warning: initialization makes integer from pointer without a cast
fsdither.c:106: warning: excess elements in scalar initializer fsdither.c:106: warning: (near initialization for `PLUG_IN_INFO') fsdither.c:107: warning: excess elements in scalar initializer fsdither.c:107: warning: (near initialization for `PLUG_IN_INFO') fsdither.c:108: warning: excess elements in scalar initializer fsdither.c:108: warning: (near initialization for `PLUG_IN_INFO') fsdither.c:109: warning: data definition has no type or storage class

[rest snipped]

Anyone any ideas what went wrong?

Thanks!

Nat

Jeff Trefftzs
2003-02-15 00:08:47 UTC (about 21 years ago)

Errors while compiling Plug-ins

Nat -

Try this:

export CFLAGS='-D GIMP_ENABLE_COMPAT_CRUFT'

before running gimptool. I haven't tried compiling fsdither.c, but this is needed for any number of the older plugins.

HTH,

Nat
2003-02-15 00:43:35 UTC (about 21 years ago)

Errors while compiling Plug-ins

On Saturday 15 February 2003 00:08, you wrote:

Nat -

Try this:

export CFLAGS='-D GIMP_ENABLE_COMPAT_CRUFT'

before running gimptool. I haven't tried compiling fsdither.c, but this is needed for any number of the older plugins.

HTH,

I'll try.

Thanks!

Nat

Nat
2003-02-15 00:51:32 UTC (about 21 years ago)

Errors while compiling Plug-ins SOLVED!

On Saturday 15 February 2003 00:08, you wrote:

Nat -

Try this:

export CFLAGS='-D GIMP_ENABLE_COMPAT_CRUFT'

before running gimptool.

HTH,

Yes! it works!

Thanks again1

Nat