• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Error in Complain out of ideas...

GoalTV

NANI?!
Joined
Jul 23, 2011
Messages
589
Reaction score
53
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

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
 
Update to debian 7 to get a later version of boost. and are you sure you applied the changes to the file where you replaced leaf() ?
 
I haved debian 7 was same problem then downgrade to debian 6 because it always works and same problem...

I change it in scriptmanager.cpp and luascript.cpp

yes I'm sure I did apply even I press yes in filezilla when it was changing..

I will try another 8.6 source and see
 
I fixed it :)

I removed source download first one which was not working make again std::string s = it->path().filename().string(); and works :)

thanks for help :)
 
Back
Top