Compiling libXML++ 2.6 with XCode 3.2.5
- From: Siska Ádám <sales sadam hu>
- To: libxmlplusplus-list gnome org
- Subject: Compiling libXML++ 2.6 with XCode 3.2.5
- Date: Mon, 14 Feb 2011 05:09:23 +0100
Dear List,
I've been trying for a while compiling a project (actually, the example project http://git.gnome.org/browse/libxml++/tree/examples/dom_parser/main.cc) with libXML++ on XCode, but I'm getting some weird compile-time errors. Namely, I'm getting 1604 error messages, most of them are like
"/opt/local/var/macports/software/glibmm/2.24.2_0/opt/local/include/glibmm-2.4/glibmm/main.h:448:0 Macro "check" passed 2 arguments, but takes just 1 in /opt/local/var/macports/software/glibmm/2.24.2_0/opt/local/include/glibmm-2.4/glibmm/main.h"
or
"/opt/local/var/macports/software/libsigcxx2/2.2.8_0/opt/local/include/sigc++-2.0/sigc++/functors/functor_trait.h:37:0 /opt/local/var/macports/software/libsigcxx2/2.2.8_0/opt/local/include/sigc++-2.0/sigc++/functors/functor_trait.h:37: error: expected identifier before numeric constant"
What I've done was simply to set the "Header Search Path" and the "Library Search Path" settings and then compile the project.
Do you have any idea why this is not working? Or could anyone tell me step-by-step how shall I build a simple project using libXML++ with XCode?
Thank you in advance,
Adam
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]