Hello.
I try help my friend today who have dedicated server with OS Debian 6 Minimal
I try complain his engine so I install things needed but it have libboost1.49
and when I try complain by command make I got the follow error
I try change from
std::string s = it->leaf();
to
std::string s = it->path().filename().string();
but not working so I have no Idea what is the problem...
maybe it don't support libboost1.49 not sure...
Best Regards
mlody.1039
I try help my friend today who have dedicated server with OS Debian 6 Minimal
I try complain his engine so I install things needed but it have libboost1.49
and when I try complain by command make I got the follow error
Code:
scriptmanager.cpp: In member function ‘bool ScriptingManager::loadMods()’:
scriptmanager.cpp:122:23: error: ‘class boost::filesystem3::directory_entry’ has no member named ‘leaf’
make[1]: *** [scriptmanager.o] Error 1
I try change from
std::string s = it->leaf();
to
std::string s = it->path().filename().string();
but not working so I have no Idea what is the problem...
maybe it don't support libboost1.49 not sure...
Best Regards
mlody.1039