[Geany-devel] Geany Plugin with Libxml
tabin.cedric at xxxxx
Tue Jun 23 19:05:59 UTC 2009
Thanks for the advice :) I just try and it works perfectly !!!
On Tue, Jun 23, 2009 at 9:00 PM, Chow Loong Jin <hyperair at gmail.com> wrote:
> On Wednesday 24,June,2009 01:53 AM, � wrote:
> > Hello,
> > I try to code a small plugin that uses libxml2 to parse some data. I
> > searched a lot, but I don't understand how I can tell Geany that I want
> > use that lib...
> > To compile my file, I use the following command lines :
> > compilation
> > gcc -o "output.o" -Wall -c -fpic "plugin.c" `pkg-config --cflags geany`
> > `pkg-config --cflags libxml-2.0`
> > for the shared library
> > gcc -shared -o "output.so" "output.o"
> I think you'll need to link it as well, so try this:
> gcc -shared -o output.so output.o `pkg-config --libs geany libxml-2.0`
> Chow Loong Jin
> Geany-devel mailing list
> Geany-devel at uvena.de
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel