Cannot compile app using Glib, Glibmm, libxml2, libxml++
- From: Tassilo Horn <heimdall uni-koblenz de>
- To: gtk-app-devel-list gnome org
- Subject: Cannot compile app using Glib, Glibmm, libxml2, libxml++
- Date: Thu, 26 May 2005 14:41:45 +0200
Hi!
I'm writing an application which has to parse a XML-file with SAX2.
Therefore I chose libxml++. It's very simple at the moment, but it
doesn't compile and I don't know why.
You can get the Code from my subversion repository if you want.
https://svn.uni-koblenz.de/heimdall/uni/studienarbeit/xmlbinary/
User: anon
Pwd: password
When I try to compile it I get the following errors:
-----------------------------------------------------------------------
In file included from /usr/include/glibmm-2.4/glibmm/ustring.h:25,
from /usr/include/libxml++-2.6/libxml++/exceptions/exception.h:26,
from /usr/include/libxml++-2.6/libxml++/exceptions/internal_error.h:25,
from /usr/include/libxml++-2.6/libxml++/libxml++.h:10,
from /[..snipped..]/svn/studienarbeit/xmlbinary/src/XMLParser.h:24,
from /[..snipped..]/svn/studienarbeit/xmlbinary/src/xmlbinary.cpp:29:
/usr/include/glib-2.0/glib/gunicode.h:156: \
Fehler: »gsize« wurde nicht deklariert
/usr/include/glib-2.0/glib/gunicode.h:156: \
Fehler: ISO-C++ verbietet Deklaration von »len« ohne Typ
/usr/include/glib-2.0/glib/gunicode.h:162: \
Fehler: »gsize« wurde nicht deklariert
/usr/include/glib-2.0/glib/gunicode.h:162: \
Fehler: ISO-C++ verbietet Deklaration von »result_len« ohne Typ
[...]
-----------------------------------------------------------------------
Translated to English:
error: »gsize« was not declared
error: ISO-C++ forbids declarations of »len« without type
You can get the full compiler output at
http://www.uni-koblenz.de/~heimdall/xmlbinary-log .
Things I include outside my project:
-I/usr/lib/glib/include
-I/usr/include/glib-2.0
-I/usr/include/glibmm-2.4
-I/usr/include/libxml++-2.6
What do I have to do?
Thanks in advance,
Tassilo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]