beliar34
Member
- Joined
- Feb 28, 2012
- Messages
- 307
- Solutions
- 7
- Reaction score
- 11
After "make"
Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-47-generic x86_64)
Code:
++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -DCMAKE_CXX_FLAGS=-stdlib=libstdc++ -g -O1 -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
In file included from const.h:20:0,
from actions.cpp:18:
definitions.h:160:32: error: ‘tr1’ in namespace ‘std’ does not name a type
#define OTSERV_HASH_SET std::tr1::unordered_set
^
house.h:76:11: note: in expansion of macro ‘OTSERV_HASH_SET’
typedef OTSERV_HASH_SET<uint32_t> PlayerList;
^
Makefile:566: recipe for target 'actions.o' failed
make[1]: *** [actions.o] Error 1
Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-47-generic x86_64)