strutZ
Australian OT Member {AKA Beastn}
- Joined
- Nov 16, 2014
- Messages
- 1,393
- Solutions
- 7
- Reaction score
- 552
Hey guys before I wipe my server and start again I was wondering if anyone has come across this error before while compiling on CentOS 7?
Code:
[ 1%] Building CXX object CMakeFiles/tfs.dir/src/actions.cpp.o
/home/bshift/forgottenserver/src/actions.cpp: In member function 'virtual bool Actions::registerEvent(Event*, const pugi::xml_node&)':
/home/bshift/forgottenserver/src/actions.cpp:103:87: error: 'class pugi::xml_attribute' has no member named 'as_string'
std::cout << "[Warning - Actions::registerEvent] Missing toid in fromid: " << attr.as_string() << std::endl;
^
/home/bshift/forgottenserver/src/actions.cpp:137:89: error: 'class pugi::xml_attribute' has no member named 'as_string'
std::cout << "[Warning - Actions::registerEvent] Missing touid in fromuid: " << attr.as_string() << std::endl;
^
/home/bshift/forgottenserver/src/actions.cpp:171:89: error: 'class pugi::xml_attribute' has no member named 'as_string'
std::cout << "[Warning - Actions::registerEvent] Missing toaid in fromaid: " << attr.as_string() << std::endl;
^
/home/bshift/forgottenserver/src/actions.cpp: In member function 'virtual bool Action::loadFunction(const pugi::xml_attribute&)':
/home/bshift/forgottenserver/src/actions.cpp:453:34: error: 'const class pugi::xml_attribute' has no member named 'as_string'
const char* functionName = attr.as_string();
^
make[2]: *** [CMakeFiles/tfs.dir/src/actions.cpp.o] Error 1
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
make: *** [all] Error 2