Bodo,
have you tried itterating over the errors and see what is in there. It
will often give you more information on what is wrong.
However it might be that errors is empty. I had that once and it meant
that he could not find the xml file that SAMPLE_XML_PATH indicates. A
nice piece of code to check this is:
#include <stdio.h>
#include <stdlib.h>
#define FILE_CHECK( file ) { \
std::FILE* tmp = std::fopen( file, "r" ); \
if ( tmp == NULL ) { \
std::cout << ""File \"" << file \
<< "\" does not exist!\n"; } \
fclose (tmp); } \
I have not checked whether this code works. If not than just copy the
code to method you need to check the path. But all in all
SAMPLE_XML_PATH in the examples contain "../../../Data/
SamplesConfig.xml" and that probably does not work for your project.
m.v.g.
Niek