Re: compiling a plug in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello 

Please use gimptool to build the plugin additional information (a
whole chapter) about compiling can also be found in the Gimp Users Manual
manual.gimp.org.

To build a plugin with gimptool simply do  gimptool --build plug-in.c .
NOTE that this only work with one c source file.

Cheers Olof

--

Olof Kylander  Frozenriver Digital Design   http://www.frozenriver.nu

Consultant at Sigma nBiT

Technical writer and coauthor of GUM (the Gimp User Manual)




On Sat, 11 Dec 1999, Willem Robert van Hage wrote:

> I've been searching for documentation about how to actually
> compile a plug in, but all I could find was how to write the code...
> I tried compiling it like this, 
> 
> gcc -c myplug.c
> ld -G -o myplug.o
> 
> but when gimp tries to load it from
> my ~/.gimp-1.1 (I use gimp-1.1.8) it gives a warning that the plugin has
> crashed.
> 
> I'm pretty sure the problem is the way I compile it,
> because it's with all the plugin code I try, not just my hello world
> plugin :)
> 
> 
> if anybody could help out I'd greatly appreciate it.
> 
> Willem
> 
> -- 
> wrvh@xxxxxxxxx      | http://www.xs4all.nl/~wrvh
> wrvhage@xxxxxxxxxxx | http://gene.wins.uva.nl/~wrvhage
> 



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux