DarkOne 12 Posted November 13, 2016 Share Posted November 13, 2016 Can anyone help with this..? I can compile Mainline just fine. But for some reason when I compile these files it gives me the error below after it compiles the game core. I am compiling in FreeBSD, Thanks linking ../game_r40250_32.... gmake[1]: Leaving directory '/root/workspace/Server/game/src' gmake -C db/src dep gmake[1]: Entering directory '/root/workspace/Server/db/src' makedepend -fDepend -I../../boost -I../../libmysql/5.x-5.1.35 -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p.obj/ Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp ClientManagerBoot.cpp ClientManagerParty.cpp ClientManagerGuild.cpp GuildManager.cpp HB.cpp PrivManager.cpp MoneyLog.cpp ItemAwardManager.cpp ClientManagerEventFlag.cpp Marriage.cpp Monarch.cpp BlockCountry.cpp ItemIDRangeManager.cpp ClientManagerHorseName.cpp version.cpp AuctionManager.cpp ProtoReader.cpp CsvReader.cpp 2> /dev/null gmake[1]: Leaving directory '/root/workspace/Server/db/src' gmake -C db/src clean gmake[1]: Entering directory '/root/workspace/Server/db/src' gmake[1]: Leaving directory '/root/workspace/Server/db/src' gmake -C db/src gmake[1]: Entering directory '/root/workspace/Server/db/src' compile Config.cpp compile NetBase.cpp In file included from NetBase.cpp:4: ClientManager.h:5:36: error: boost/unordered_map.hpp: No such file or directory ClientManager.h:6:36: error: boost/unordered_set.hpp: No such file or directory In file included from NetBase.cpp:4: ClientManager.h:35: error: 'boost' has not been declared ClientManager.h:35: error: ISO C++ forbids declaration of 'unordered_map' with no type ClientManager.h:35: error: typedef name may not be a nested-name-specifier ClientManager.h:35: error: expected ';' before '<' token ClientManager.h:36: error: 'boost' has not been declared ClientManager.h:36: error: ISO C++ forbids declaration of 'unordered_map' with no type ClientManager.h:36: error: typedef name may not be a nested-name-specifier ClientManager.h:36: error: expected ';' before '<' token ClientManager.h:37: error: 'boost' has not been declared ClientManager.h:37: error: ISO C++ forbids declaration of 'unordered_set' with no type ClientManager.h:37: error: typedef name may not be a nested-name-specifier ClientManager.h:37: error: expected ';' before '<' token ClientManager.h:38: error: 'boost' has not been declared ClientManager.h:38: error: ISO C++ forbids declaration of 'unordered_map' with no type Link to comment Share on other sites More sharing options...
Alucardo 7 Posted November 13, 2016 Share Posted November 13, 2016 Do you have these 2 files in extern? ClientManager.h:5:36: error: boost/unordered_map.hpp: No such file or directoryClientManager.h:6:36: error: boost/unordered_set.hpp: No such file or directory Link to comment Share on other sites More sharing options...
DarkOne 12 Posted November 14, 2016 Author Share Posted November 14, 2016 Yes both are in /Extern/include/boost Link to comment Share on other sites More sharing options...
DarkOne 12 Posted November 14, 2016 Author Share Posted November 14, 2016 OK I fix the problem. Originally the boost folder was in this location /root/workspace/Extern/include/boost I copied the boost folder to /usr/include/boost and it all compile fine. Hope this helps someone. 1 5 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now