Complaciente
New Member
- Joined
- Aug 2, 2013
- Messages
- 4
- Reaction score
- 0
I really want to start on an Old school server stealing other games features (lol).
I get the following error when i try to compile.
Im on Ubuntu 12.04 (64-bit)
I got my sources from http://sourceforge.net/p/otos/code/HEAD/tree/ (r30)
I get the following error when i try to compile.
Code:
g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -Werror -Wall -O1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -O1 -c actions.cpp
In file included from house.h:29:0,
from actions.cpp:30:
/usr/include/boost/tr1/unordered_set.hpp:25:19: error: ‘unordered_set’ is already declared in this scope
/usr/include/boost/tr1/unordered_set.hpp:26:19: error: ‘unordered_multiset’ is already declared in this scope
actions.cpp: In member function ‘bool Actions::useItem(Player*, const Position&, uint8_t, Item*)’:
actions.cpp:380:10: error: unused variable ‘itemId’ [-Werror=unused-variable]
actions.cpp:381:11: error: unused variable ‘itemCount’ [-Werror=unused-variable]
cc1plus: all warnings being treated as errors
make: *** [actions.o] Error 1
Im on Ubuntu 12.04 (64-bit)
I got my sources from http://sourceforge.net/p/otos/code/HEAD/tree/ (r30)