[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] Please help... How to use libxml in a C++ project(KDevelop)
- From: Daniel Veillard <veillard redhat com>
- To: Sven Weiberg <sven svenweiberg de>
- Cc: xml gnome org
- Subject: Re: [xml] Please help... How to use libxml in a C++ project(KDevelop)
- Date: Fri, 21 Feb 2003 14:59:34 -0500
On Fri, Feb 21, 2003 at 07:06:26PM +0100, Sven Weiberg wrote:
> Hello!
> It's probably an easy Question but I'm failing to find an answer since
> hours...
>
> I just started an Open Source Project in C++ under Linux using KDevelop.
> I'm not (yet) very common with all this make, automake, autoconf stuff
> and the millions of settings and options this tools and the gcc has.
> I've got my Kdevelop project in one folder and want to keep the libxml
> source files in another folder. I added the compiler option
> -I<pathtolibxmlsources> but I get undefined reference error while
> linking for each libxml function I try to call...
>
> Would be happy if anyone could help me on...
1/ do NOT use libxml version 1 use libxml2
2/ use xml2-config to get the compiler and linker flags.
You should not need the libxml2 source file in your project. They
are a system resource, you should reuse them this way.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]