Код: Выделить всё
TiXmlDocument* xml_document = new TiXmlDocument();
const char* xmlfile = "../conf/rocket2.xml";
bool rt = xml_document->LoadFile(xmlfile);
if(!rt){
printf("Start rocket server error_, failed to read config file %s, error info[%s] \n", xmlfile, xml_document->ErrorDesc());
exit(0);
}else{
printf("11111111111");
}
Подробнее здесь: https://stackoverflow.com/questions/783 ... -cant-open