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@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@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel