Re: [Gimp-user] Errors while compiling Plug-ins SOLVED!

2003-02-14 Thread Nat
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

-- 
Signature has disappeared
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Errors while compiling Plug-ins

2003-02-14 Thread Nat
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

-- 
Signature has disappeared
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Errors while compiling Plug-ins

2003-02-14 Thread Jeff Trefftzs
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,

-- 
--Jeff

Jeff Trefftzs <[EMAIL PROTECTED]>
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



[Gimp-user] Errors while compiling Plug-ins

2003-02-14 Thread Nat

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

-- 
Signature has disappeared
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user