[Geany-devel] Geany Plugin with Libxml

Cédric Tabin tabin.cedric at xxxxx
Tue Jun 23 19:05:59 UTC 2009


Hello,

Thanks for the advice :) I just try and it works perfectly !!!

Regards
Cedric

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
> to
> > 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`
>
> --
> Regards,
> Chow Loong Jin
>
>
>
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20090623/85f17a20/attachment.html>


More information about the Devel mailing list