Jump to content
×
×
  • Create New...
  • 0

ClientManager.h:5:36: error: boost/unordered_map.hpp: No such file or directory


DarkOne

Question

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

3 answers to this question

Recommended Posts

  • 0

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.

  • Love 2
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.