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`