|libxml++ namespace not found [message #1018992]
||Thu, 14 March 2013 21:28
| Adam Levine
Registered: March 2013
I am attempting to experiment with libxml++ on a unbuntu 12.04 machine.
I have downloaded the library and started a C++ project with the wizard.
I am trying to run the DOMParser example so I pasted it into the cpp file.
I have put the `pkg-config libxm++-2.6 --cflags --libs` in the command line (using GUI)
This appears with to work with includes as it does find all headers from the single <libxml++/libxml++.h> include.
The problem I am having is that it does not "see" the xmlpp:: namespace, or for that matter the Glib:: namespace.
The compiler errors are of the form:
"error: 'class xmlpp::DomParser' has no member named 'set_throw_messages'
Hovering over any of the other errors in the editor gives something like:
"Type 'xml::ContentNode' could not be resolved"
"Type 'Glib::ustring' could not be resolved"
Althouth it has been quite a few years since I have done C++ (off on C# .NET and C) and I have only used eclipse for straight C projects... I think the compiler is unable to resolve the namespaces from the two "non-standard" libraries (libxml++, and glib).
The compiler/editor does see the std namespace and I have done a couple simple C++ projects without a problem.
If someone can help me resolve this issue I would appreciate it.
BTW, I have been spoiled by IDE's and GUI's so I am trying to resolve this within
Thanks in advance, my apologies for the long description.
Powered by FUDForum
. Page generated in 0.06541 seconds