Postado Dezembro 5, 2017 7 anos Ao dar make e tentar compilar tive este erro: make all-am make[1]: Entering directory '/otserver/trunk' g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.cpp status.cpp: In member function ‘std::__cxx11::string Status::getStatusString(bool) const’: status.cpp:158:27: error: ‘connectionCount’ is not a member of ‘Connection’ sprintf(buffer, "%d", Connection::connectionCount); //sprintf(buffer, "%d", ^ status.cpp: In member function ‘void Status::getInfo(uint32_t, OutputMessage_ptr, NetworkMessage&) const’: status.cpp:269:26: error: ‘connectionCount’ is not a member of ‘Connection’ output->AddU32(Connection::connectionCount); ^ Makefile:564: recipe for target 'status.o' failed make[1]: *** [status.o] Error 1 make[1]: Leaving directory '/otserver/trunk' Makefile:416: recipe for target 'all' failed make: *** [all] Error 2 Estou compilando em linux!
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.