Re: [xml] Trouble compiling a library
- From: Alex Bligh <alex alex org uk>
- To: michael jerusalmi steria com, Jason Viers <lists beanalby net>
- Cc: xml gnome org
- Subject: Re: [xml] Trouble compiling a library
- Date: Thu, 12 Jul 2012 16:36:51 +0100
--On 12 July 2012 09:37:23 +0200 michael jerusalmi steria com wrote:
I use this command line to compile : gcc `xml2-config --cflags --libs` -o
librairie_xml librairie_xml.c
If your xml library is actually installed, you want to do:
#include <libxml/parser.h>
#include <libxml/tree.h>
not
#include "libxml/parser.h"
#include "libxml/tree.h"
Can I suggest you look at
http://www.xmlsoft.org/examples/index.html
and download and compile an example or two. Once you have those working,
start using your own code. Perhaps modify the examples a bit.
--
Alex Bligh
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]