I'm italian (so, sorry for my bad english) and I'm new to this forum.
I wanted to ask you a question. Your answer will help me with my thesis, so, thank you!!
I'm writing an interface for a robotic wheelchair controlled by a BCI system. The problem is: the interface is running on Ubuntu, and the BCI system used is based on windows. I exported the classes that are related to the BCI system, but I've a serious problem with XML! I mean: when I try to open an XML file the program crashes. This is the code:
Code:
#include <libxml/tree.h>
#include <libxml/parser.h>
...
xmlDocPtr XMLdocument;
const char* fileName = "myDestinations.xml";
XMLdocument = xmlReadFile (fileName, NULL, 0);
if (XMLdocument == NULL)
cout << "Failed to open file!\n";
Do you have any ideas about the problem? Or if I can find other libraries?
Thank you in advance!
Eleonora
