• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling Compiling The Forgotten Server latest source code - Last Update: 02/12/2010

Please, i tryed to compile a lot of times
and always errors..
please help me
many errors

Code:
25 C:\Documents and Settings\xxxxx\Desktop\TheForgottenServer-Source\luascript.h:37,               from .\creatureevent.h In file included from ../luascript.h:37,               from ../creatureevent.h 
33 C:\Documents and Settings\xxxxx\Desktop\TheForgottenServer-Source\creatureevent.h:25,               from .\creature.h                  from ../creatureevent.h:25,               from ../creature.h
25 C:\Documents and Settings\xxxxx\Desktop\TheForgottenServer-Source\creature.h:33,               from .\player.h                  from ../creature.h:33,               from ../player.h 
23 C:\Documents and Settings\xxxxx\Desktop\TheForgottenServer-Source\player.h:25,               from .\actions.cpp                  from ../player.h:25,               from ../actions.cpp 
23 C:\Documents and Settings\xxxxx\Desktop\TheForgottenServer-Source\actions.cpp                  from ../actions.cpp 
66:2 C:\Documents and Settings\xxxxx\Desktop\TheForgottenServer-Source\database.h #error "You have to compile with atl east one database driver!" 
 C:\Documents and Settings\xxxxx\Desktop\TheForgottenServer-Source\Project\Makefile.win [Build Error]  [../actions.o] Error 1

Wrong C++ Compiler definitions probably
 
Wrong C++ Compiler definitions probably
Where i can change?

Man, look here:
errosha.jpg


Can you help me please?
 
hello
i compile tfs 0.2.1.
i use is theforgottendevcppv23.
i have a problem
62140677.jpg

43132598.jpg

help me please
 
Thank you so much for this tutorial! I've worked it out after some problems :p. Think I just read it wrong but it works now, fantastic! ++rep!
 
I followed the thread and every thing i did't edited any thing i just add and compile and i get this error

Code:
Compiler: Default compiler
Building Makefile: "D:\Tibia Stuff\Compile\TFS 0.2.2\Project\Makefile.win"
Executing  make...
make.exe -f "D:\Tibia Stuff\Compile\TFS 0.2.2\Project\Makefile.win" all
g++.exe -c ../otserv.cpp -o ../otserv.o -I"C:/Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__CONSOLE__   -fexpensive-optimizations -O1

In file included from C:/Dev-Cpp/include/boost/date_time/microsec_time_clock.hpp:23,
                 from C:/Dev-Cpp/include/boost/date_time/posix_time/posix_time_types.hpp:11,
                 from C:/Dev-Cpp/include/boost/asio/detail/select_reactor.hpp:25,
                 from C:/Dev-Cpp/include/boost/asio/impl/io_service.ipp:27,
                 from C:/Dev-Cpp/include/boost/asio/io_service.hpp:550,
                 from C:/Dev-Cpp/include/boost/asio/basic_io_object.hpp:20,
                 from C:/Dev-Cpp/include/boost/asio/basic_socket.hpp:24,
                 from C:/Dev-Cpp/include/boost/asio/basic_datagram_socket.hpp:25,
                 from C:/Dev-Cpp/include/boost/asio.hpp:20,
                 from ../otserv.cpp:23:
C:/Dev-Cpp/include/boost/date_time/filetime_functions.hpp: In function `uint64_t boost::date_time::winapi::file_time_to_microseconds(const FileTimeT&)':
C:/Dev-Cpp/include/boost/date_time/filetime_functions.hpp:101: warning: left shift count >= width of type

In file included from ../otserv.cpp:24:
../server.h: In member function `bool ServiceManager::add(uint16_t)':

../server.h:126: error: `cout' is not a member of `std'
../server.h:146: error: `cout' is not a member of `std'

make.exe: *** [../otserv.o] Error 1

Execution terminated
 
I followed the thread and every thing i did't edited any thing i just add and compile and i get this error

Code:
Compiler: Default compiler
Building Makefile: "D:\Tibia Stuff\Compile\TFS 0.2.2\Project\Makefile.win"
Executing  make...
make.exe -f "D:\Tibia Stuff\Compile\TFS 0.2.2\Project\Makefile.win" all
g++.exe -c ../otserv.cpp -o ../otserv.o -I"C:/Dev-Cpp/include"  -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__CONSOLE__   -fexpensive-optimizations -O1

In file included from C:/Dev-Cpp/include/boost/date_time/microsec_time_clock.hpp:23,
                 from C:/Dev-Cpp/include/boost/date_time/posix_time/posix_time_types.hpp:11,
                 from C:/Dev-Cpp/include/boost/asio/detail/select_reactor.hpp:25,
                 from C:/Dev-Cpp/include/boost/asio/impl/io_service.ipp:27,
                 from C:/Dev-Cpp/include/boost/asio/io_service.hpp:550,
                 from C:/Dev-Cpp/include/boost/asio/basic_io_object.hpp:20,
                 from C:/Dev-Cpp/include/boost/asio/basic_socket.hpp:24,
                 from C:/Dev-Cpp/include/boost/asio/basic_datagram_socket.hpp:25,
                 from C:/Dev-Cpp/include/boost/asio.hpp:20,
                 from ../otserv.cpp:23:
C:/Dev-Cpp/include/boost/date_time/filetime_functions.hpp: In function `uint64_t boost::date_time::winapi::file_time_to_microseconds(const FileTimeT&)':
C:/Dev-Cpp/include/boost/date_time/filetime_functions.hpp:101: warning: left shift count >= width of type

In file included from ../otserv.cpp:24:
../server.h: In member function `bool ServiceManager::add(uint16_t)':

../server.h:126: error: `cout' is not a member of `std'
../server.h:146: error: `cout' is not a member of `std'

make.exe: *** [../otserv.o] Error 1

Execution terminated

It might be an error in the source code then
 
Tala helped me with that now i get this error
Code:
cannot find -lboost_regex

and i saw what you posted so i am now gona try with ur Dev

Code:
Note: For everyone who has problems with -lboost_regex download my Dev-Cpp and try compiling again

MEGAUPLOAD - The leading online storage and file delivery service
 
somebody can help me? i have a problem look:
Kompilator: Default compiler
Building Makefile: "C:\Users\johny5608\Desktop\tfs0.3.4\dev-cpp\Makefile.win"
Wykonywanie make...
make.exe -f "C:\Users\johny5608\Desktop\tfs0.3.4\dev-cpp\Makefile.win" all
g++.exe -c ../actions.cpp -o obj//actions.o -I"include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -fexpensive-optimizations -O1

In file included from ../actions.cpp:17:
../otpch.h:11:30: libxml/xmlmemory.h: No such file or directory
../otpch.h:12:27: libxml/parser.h: No such file or directory
../otpch.h:13:28: libxml/threads.h: No such file or directory
In file included from ../otpch.h:16,
from ../actions.cpp:17:
C:/Users//Downloads/theforgottendevcpp_v22/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/config.hpp:26:29: boost/config/user.hpp: No such file or directory
C:/Users//Downloads/theforgottendevcpp_v22/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/config.hpp:31:53: boost/config/select_compiler_config.hpp: No such file or directory
C:/Users//Downloads/theforgottendevcpp_v22/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.5/../../../../include/boost/config.hpp:40:51: boost/config/select_stdlib_config.hpp: No such file or directory
 
do you have to download alot of stuff ? cuz i mean can my computer teke it and where can i get a forgotten server XD
 
make: *** No targets specified and no makefile found. Stop.

on ubuntu "linux" what can i do?
 
make: *** No targets specified and no makefile found. Stop.
(in linux - debian)
why?

edit:
ho ok i saw another post..
 
Code:
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\User\Desktop\0.3.4pl2\0.3.4pl2\dev-cpp\Makefile.win"
Executing  make...
make.exe -f "C:\Documents and Settings\User\Desktop\0.3.4pl2\0.3.4pl2\dev-cpp\Makefile.win" all
windres.exe -i TheForgottenServer_private.rc --input-format=rc -o obj//TheForgottenServer_private.res -O coff 

g++.exe obj//actions.o obj//allocator.o obj//baseevents.o obj//beds.o obj//chat.o obj//combat.o obj//protocolold.o obj//condition.o obj//configmanager.o obj//connection.o obj//container.o obj//creature.o obj//creatureevent.o obj//cylinder.o obj//database.o obj//databasemysql.o obj//databasesqlite.o obj//depot.o obj//exception.o obj//fileloader.o obj//game.o obj//gui.o obj//house.o obj//housetile.o obj//inputbox.o obj//ioguild.o obj//iologindata.o obj//iomap.o obj//iomapserialize.o obj//item.o obj//items.o obj//luascript.o obj//mailbox.o obj//map.o obj//md5.o obj//monster.o obj//monsters.o obj//movement.o obj//networkmessage.o obj//npc.o obj//otserv.o obj//outfit.o obj//outputmessage.o obj//party.o obj//player.o obj//playerbox.o obj//position.o obj//protocol.o obj//protocolgame.o obj//protocollogin.o obj//quests.o obj//raids.o obj//rsa.o obj//scheduler.o obj//scriptmanager.o obj//server.o obj//sha1.o obj//spawn.o obj//spells.o obj//status.o obj//talkaction.o obj//tasks.o obj//teleport.o obj//textlogger.o obj//thing.o obj//tile.o obj//tools.o obj//trashholder.o obj//vocation.o obj//waitlist.o obj//weapons.o obj//ioban.o obj//globalevent.o obj//gameservers.o obj//databasemanager.o obj//admin.o obj//protocolhttp.o obj//group.o obj//TheForgottenServer_private.res -o "TheForgottenServer.exe" -L"C:/The Forgotten Dev-Cpp/lib" -mwindows -O1 -lboost_system -lgmp -llua5.1 -lmysql -lboost_regex -lsqlite3 -lwsock32 -lxml2 -lmysql -lws2_32 -s  

obj//actions.o:actions.cpp:(.text+0x58d9): undefined reference to `ProtocolGame::sendTextWindow(unsigned int, Item*, unsigned short, bool)'
obj//actions.o:actions.cpp:(.text+0x5938): undefined reference to `ProtocolGame::sendTextWindow(unsigned int, Item*, unsigned short, bool)'
obj//chat.o:chat.cpp:(.text+0xf51): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//chat.o:chat.cpp:(.text+0x1165): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//chat.o:chat.cpp:(.text+0x1630): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//chat.o:chat.cpp:(.text+0x17d9): undefined reference to `ProtocolGame::sendClosePrivate(unsigned short)'
obj//chat.o:chat.cpp:(.text+0x1a1d): undefined reference to `ProtocolGame::sendClosePrivate(unsigned short)'
obj//chat.o:chat.cpp:(.text+0x404a): undefined reference to `ProtocolGame::sendToChannel(Creature const*, SpeakClasses, std::string const&, unsigned short, unsigned int)'
obj//chat.o:chat.cpp:(.text+0x8def): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//chat.o:chat.cpp:(.text+0xa3c2): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//chat.o:chat.cpp:(.text+0x12869): undefined reference to `ProtocolGame::sendToChannel(Creature const*, SpeakClasses, std::string const&, unsigned short, unsigned int)'
obj//chat.o:chat.cpp:(.text$_ZNK6Player10sendCancelEPKc[__ZNK6Player10sendCancelEPKc]+0x97): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//condition.o:condition.cpp:(.text+0x18a3): undefined reference to `ProtocolGame::sendSkills()'
obj//condition.o:condition.cpp:(.text+0x1986): undefined reference to `ProtocolGame::sendSkills()'
obj//creature.o:creature.cpp:(.text+0x2c14): undefined reference to `ProtocolGame::sendCancelWalk()'
obj//game.o:game.cpp:(.text+0x88b4): undefined reference to `ProtocolGame::sendAddCreature(Creature const*, Position const&, unsigned int, bool)'
obj//game.o:game.cpp:(.text+0x8dfa): undefined reference to `ProtocolGame::sendRemoveCreature(Creature const*, Position const&, unsigned int, bool)'
obj//game.o:game.cpp:(.text+0xabee): undefined reference to `ProtocolGame::sendCancelWalk()'
obj//game.o:game.cpp:(.text+0xf863): undefined reference to `ProtocolGame::sendCancelWalk()'
obj//game.o:game.cpp:(.text+0xfd74): undefined reference to `ProtocolGame::sendCreatureSay(Creature const*, SpeakClasses, std::string const&, Position*)'
obj//game.o:game.cpp:(.text+0xfe37): undefined reference to `ProtocolGame::sendCreatePrivateChannel(unsigned short, std::string const&)'
obj//game.o:game.cpp:(.text+0xffb5): undefined reference to `ProtocolGame::sendChannelsDialog()'
obj//game.o:game.cpp:(.text+0x10049): undefined reference to `ProtocolGame::sendChannel(unsigned short, std::string const&)'
obj//game.o:game.cpp:(.text+0x1006a): undefined reference to `ProtocolGame::sendRuleViolationsChannel(unsigned short)'
obj//game.o:game.cpp:(.text+0x101e4): undefined reference to `ProtocolGame::sendOpenPrivateChannel(std::string const&)'

obj//game.o:game.cpp:(.text+0x1024a): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//game.o:game.cpp:(.text+0x10637): undefined reference to `ProtocolGame::sendRemoveReport(std::string const&)'

obj//game.o:game.cpp:(.text+0x10caa): undefined reference to `ProtocolGame::sendCancelWalk()'
obj//game.o:game.cpp:(.text+0x13a71): undefined reference to `ProtocolGame::sendCloseContainer(unsigned int)'
obj//game.o:game.cpp:(.text+0x13ba1): undefined reference to `ProtocolGame::sendContainer(unsigned int, Container const*, bool)'

obj//game.o:game.cpp:(.text+0x13c4e): undefined reference to `ProtocolGame::sendUpdateTile(Tile const*, Position const&)'
obj//game.o:game.cpp:(.text+0x13d2b): undefined reference to `ProtocolGame::sendContainer(unsigned int, Container const*, bool)'
obj//game.o:game.cpp:(.text+0x152eb): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x15577): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x162f0): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x1661e): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x16a68): undefined reference to `ProtocolGame::sendTradeItemRequest(Player const*, Item const*, bool)'
obj//game.o:game.cpp:(.text+0x16b1f): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x16d68): undefined reference to `ProtocolGame::sendTradeItemRequest(Player const*, Item const*, bool)'
obj//game.o:game.cpp:(.text+0x16da2): undefined reference to `ProtocolGame::sendTradeItemRequest(Player const*, Item const*, bool)'
obj//game.o:game.cpp:(.text+0x173a2): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x175ae): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x177e2): undefined reference to `ProtocolGame::sendCloseTrade()'
obj//game.o:game.cpp:(.text+0x1782a): undefined reference to `ProtocolGame::sendCloseTrade()'
obj//game.o:game.cpp:(.text+0x18916): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x192ad): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x198d6): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x19a77): undefined reference to `ProtocolGame::sendCloseTrade()'
obj//game.o:game.cpp:(.text+0x19c1d): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x19e16): undefined reference to `ProtocolGame::sendCloseTrade()'
obj//game.o:game.cpp:(.text+0x1a727): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'

obj//game.o:game.cpp:(.text+0x1b835): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x1bbe7): undefined reference to `ProtocolGame::sendCancelTarget()'
obj//game.o:game.cpp:(.text+0x1bc2d): undefined reference to `ProtocolGame::sendCancelTarget()'
obj//game.o:game.cpp:(.text+0x1bc68): undefined reference to `ProtocolGame::sendCancelTarget()'
obj//game.o:game.cpp:(.text+0x1bf0d): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x1c27e): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x1cad1): undefined reference to `ProtocolGame::sendOutfitWindow()'
obj//game.o:game.cpp:(.text+0x1ccf4): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x1d474): undefined reference to `ProtocolGame::sendCreatureSay(Creature const*, SpeakClasses, std::string const&, Position*)'
obj//game.o:game.cpp:(.text+0x1d68d): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x1dbf6): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x1df0d): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x1e132): undefined reference to `ProtocolGame::sendCreatureSay(Creature const*, SpeakClasses, std::string const&, Position*)'
obj//game.o:game.cpp:(.text+0x1e20a): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x1e528): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x1ebae): undefined reference to `ProtocolGame::sendCreatureSay(Creature const*, SpeakClasses, std::string const&, Position*)'
obj//game.o:game.cpp:(.text+0x1f45f): undefined reference to `ProtocolGame::sendCreatureSay(Creature const*, SpeakClasses, std::string const&, Position*)'
obj//game.o:game.cpp:(.text+0x1f8d2): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x1fe1f): undefined reference to `ProtocolGame::sendCreatureSay(Creature const*, SpeakClasses, std::string const&, Position*)'
obj//game.o:game.cpp:(.text+0x1fe7f): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x20238): undefined reference to `ProtocolGame::sendCreatureTurn(Creature const*, short)'
obj//game.o:game.cpp:(.text+0x2053d): undefined reference to `ProtocolGame::sendCreatureSay(Creature const*, SpeakClasses, std::string const&, Position*)'
obj//game.o:game.cpp:(.text+0x20efc): undefined reference to `ProtocolGame::sendChangeSpeed(Creature const*, unsigned int)'
obj//game.o:game.cpp:(.text+0x20fe6): undefined reference to `ProtocolGame::sendCreatureOutfit(Creature const*, Outfit_t const&)'
obj//game.o:game.cpp:(.text+0x210f5): undefined reference to `ProtocolGame::sendCreatureOutfit(Creature const*, Outfit_t const&)'
obj//game.o:game.cpp:(.text+0x21109): undefined reference to `ProtocolGame::sendCreatureInvisible(Creature const*)'
obj//game.o:game.cpp:(.text+0x211d8): undefined reference to `ProtocolGame::sendCreatureLight(Creature const*)'
obj//game.o:game.cpp:(.text+0x23055): undefined reference to `ProtocolGame::sendCreatureHealth(Creature const*)'
obj//game.o:game.cpp:(.text+0x231c3): undefined reference to `ProtocolGame::sendAnimatedText(Position const&, unsigned char, std::string)'

obj//game.o:game.cpp:(.text+0x235c0): undefined reference to `ProtocolGame::sendMagicEffect(Position const&, unsigned char)'
obj//game.o:game.cpp:(.text+0x23817): undefined reference to `ProtocolGame::sendDistanceShoot(Position const&, Position const&, unsigned char)'
obj//game.o:game.cpp:(.text+0x2430f): undefined reference to `ProtocolGame::sendWorldLight(LightInfo const&)'
obj//game.o:game.cpp:(.text+0x24478): undefined reference to `ProtocolGame::sendRuleViolationCancel(std::string const&)'
obj//game.o:game.cpp:(.text+0x2450b): undefined reference to `ProtocolGame::sendRemoveReport(std::string const&)'
obj//game.o:game.cpp:(.text+0x246f8): undefined reference to `ProtocolGame::sendLockRuleViolation()'
obj//game.o:game.cpp:(.text+0x24786): undefined reference to `ProtocolGame::sendRemoveReport(std::string const&)'
obj//game.o:game.cpp:(.text+0x248f4): undefined reference to `ProtocolGame::sendCreatureSkull(Creature const*)'
obj//game.o:game.cpp:(.text+0x24ab8): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x24f41): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x25eff): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x26a21): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x2768f): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//game.o:game.cpp:(.text+0x278d8): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//game.o:game.cpp:(.text+0x27b94): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//game.o:game.cpp:(.text+0x27e38): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//game.o:game.cpp:(.text+0x28114): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//game.o:game.cpp:(.text+0x2a45c): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'

obj//game.o:game.cpp:(.text+0x2a55d): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x2c682): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x36380): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x36571): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//game.o:game.cpp:(.text+0x383c3): more undefined references to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)' follow
obj//luascript.o:luascript.cpp:(.text+0x1273d): undefined reference to `ProtocolGame::sendOutfitWindow()'
obj//luascript.o:luascript.cpp:(.text+0x1783d): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//luascript.o:luascript.cpp:(.text+0x1d289): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//luascript.o:luascript.cpp:(.text+0x1daad): undefined reference to `ProtocolGame::sendChannelMessage(std::string, std::string, SpeakClasses, unsigned char)'
obj//luascript.o:luascript.cpp:(.text+0x1eadd): undefined reference to `ProtocolGame::sendToChannel(Creature const*, SpeakClasses, std::string const&, unsigned short, unsigned int)'
obj//luascript.o:luascript.cpp:(.text+0x20ef2): undefined reference to `ProtocolGame::sendTextWindow(unsigned int, unsigned int, std::string const&)'
obj//luascript.o:luascript.cpp:(.text+0x4bd72): undefined reference to `ProtocolGame::sendFYIBox(std::string const&)'
obj//luascript.o:luascript.cpp:(.text+0x4c51d): undefined reference to `ProtocolGame::sendTutorial(unsigned char)'
obj//luascript.o:luascript.cpp:(.text+0x4c9b1): undefined reference to `ProtocolGame::sendAddMarker(Position const&, MapMarks_t, std::string const&)'
obj//movement.o:movement.cpp:(.text+0xa0b8): undefined reference to `ProtocolGame::sendSkills()'
obj//movement.o:movement.cpp:(.text+0xa35b): undefined reference to `ProtocolGame::sendSkills()'
obj//npc.o:npc.cpp:(.text+0x14b97): undefined reference to `ProtocolGame::sendGoods(std::map<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int> > > const&)'
obj//otserv.o:otserv.cpp:(.text$_ZNK7ServiceI12ProtocolGameE12makeProtocolEP10Connection[__ZNK7ServiceI12ProtocolGameE12makeProtocolEP10Connection]+0x96): undefined reference to `vtable for ProtocolGame'

obj//outfit.o:outfit.cpp:(.text+0x8461): undefined reference to `ProtocolGame::sendSkills()'
obj//outfit.o:outfit.cpp:(.text+0x8760): undefined reference to `ProtocolGame::sendSkills()'
obj//party.o:party.cpp:(.text+0xd89): undefined reference to `ProtocolGame::sendClosePrivate(unsigned short)'
obj//party.o:party.cpp:(.text+0xe08): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//party.o:party.cpp:(.text+0x1117): undefined reference to `ProtocolGame::sendClosePrivate(unsigned short)'
obj//party.o:party.cpp:(.text+0x11b1): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'

obj//party.o:party.cpp:(.text+0x173d): undefined reference to `ProtocolGame::sendClosePrivate(unsigned short)'

obj//party.o:party.cpp:(.text+0x17af): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//party.o:party.cpp:(.text+0x20b4): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//party.o:party.cpp:(.text+0x281a): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//party.o:party.cpp:(.text+0x2cc3): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//party.o:party.cpp:(.text+0x2f3f): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//party.o:party.cpp:(.text+0x33cb): more undefined references to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)' follow
obj//party.o:party.cpp:(.text+0x4050): undefined reference to `ProtocolGame::sendChannelMessage(std::string, std::string, SpeakClasses, unsigned char)'
obj//party.o:party.cpp:(.text+0x49b1): undefined reference to `ProtocolGame::sendChannelMessage(std::string, std::string, SpeakClasses, unsigned char)'
obj//party.o:party.cpp:(.text+0x5688): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//party.o:party.cpp:(.text+0x5881): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//party.o:party.cpp:(.text+0x5a7a): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0x5c4): undefined reference to `ProtocolGame::setPlayer(Player*)'
obj//player.o:player.cpp:(.text+0x1ad3): undefined reference to `ProtocolGame::setPlayer(Player*)'
obj//player.o:player.cpp:(.text+0x8e94): undefined reference to `ProtocolGame::sendIcons(int)'
obj//player.o:player.cpp:(.text+0x8f6f): undefined reference to `ProtocolGame::sendGoods(std::map<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int> > > const&)'
obj//player.o:player.cpp:(.text+0x9054): undefined reference to `ProtocolGame::sendGoods(std::map<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int> > > const&)'
obj//player.o:player.cpp:(.text+0x964d): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0x9bf0): undefined reference to `ProtocolGame::sendSkills()'
obj//player.o:player.cpp:(.text+0x9c22): undefined reference to `ProtocolGame::sendSkills()'
obj//player.o:player.cpp:(.text+0xa10a): undefined reference to `ProtocolGame::sendRemoveInventoryItem(slots_t)'
obj//player.o:player.cpp:(.text+0xa990): undefined reference to `ProtocolGame::canSee(Position const&) const'
obj//player.o:player.cpp:(.text+0xb1fc): undefined reference to `ProtocolGame::sendStats()'
obj//player.o:player.cpp:(.text+0xb244): undefined reference to `ProtocolGame::sendPing()'
obj//player.o:player.cpp:(.text+0xb2e0): undefined reference to `ProtocolGame::logout(bool, bool, bool)'
obj//player.o:player.cpp:(.text+0xb4ba): undefined reference to `ProtocolGame::sendHouseWindow(unsigned int, House*, unsigned int, std::string const&)'

obj//player.o:player.cpp:(.text+0xb6a9): undefined reference to `ProtocolGame::sendAddContainerItem(unsigned char, Item const*)'
obj//player.o:player.cpp:(.text+0xb722): undefined reference to `ProtocolGame::sendUpdateContainerItem(unsigned char, unsigned char, Item const*)'
obj//player.o:player.cpp:(.text+0xb793): undefined reference to `ProtocolGame::sendRemoveContainerItem(unsigned char, unsigned char)'
obj//player.o:player.cpp:(.text+0xc2c4): undefined reference to `ProtocolGame::sendCancelTarget()'
obj//player.o:player.cpp:(.text+0xc331): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0xc560): undefined reference to `ProtocolGame::sendCancelTarget()'
obj//player.o:player.cpp:(.text+0xc5cd): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0xd06d): undefined reference to `ProtocolGame::sendShop(std::list<ShopInfo, std::allocator<ShopInfo> > const&)'

obj//player.o:player.cpp:(.text+0xd092): undefined reference to `ProtocolGame::sendGoods(std::map<unsigned int, unsigned int, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int> > > const&)'

obj//player.o:player.cpp:(.text+0xd0fb): undefined reference to `ProtocolGame::sendCloseShop()'
obj//player.o:player.cpp:(.text+0xd539): undefined reference to `ProtocolGame::sendCloseContainer(unsigned int)'
obj//player.o:player.cpp:(.text+0xd5e3): undefined reference to `ProtocolGame::sendContainer(unsigned int, Container const*, bool)'
obj//player.o:player.cpp:(.text+0xddda): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0xe36a): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0xe6f5): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0xea64): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0xef25): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0xfa81): more undefined references to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)' follow
obj//player.o:player.cpp:(.text+0x10b53): undefined reference to `ProtocolGame::sendCreatureSquare(Creature const*, SquareColor_t)'
obj//player.o:player.cpp:(.text+0x11499): undefined reference to `ProtocolGame::sendSkills()'
obj//player.o:player.cpp:(.text+0x114b3): undefined reference to `ProtocolGame::sendReLoginWindow()'
obj//player.o:player.cpp:(.text+0x114f5): undefined reference to `ProtocolGame::sendReLoginWindow()'
obj//player.o:player.cpp:(.text+0x126f0): undefined reference to `ProtocolGame::logout(bool, bool, bool)'
obj//player.o:player.cpp:(.text+0x127a0): undefined reference to `ProtocolGame::sendVIPLogIn(unsigned int)'
obj//player.o:player.cpp:(.text+0x128b8): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0x12b24): undefined reference to `ProtocolGame::sendVIPLogOut(unsigned int)'

obj//player.o:player.cpp:(.text+0x12c3c): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0x12f3d): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0x131a5): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0x133d0): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0x13632): undefined reference to `ProtocolGame::sendVIP(unsigned int, std::string const&, bool)'
obj//player.o:player.cpp:(.text+0x137f1): undefined reference to `ProtocolGame::sendCloseContainer(unsigned int)'
obj//player.o:player.cpp:(.text+0x14aad): undefined reference to `ProtocolGame::sendAddInventoryItem(slots_t, Item const*)'
obj//player.o:player.cpp:(.text+0x14b6d): undefined reference to `ProtocolGame::sendUpdateInventoryItem(slots_t, Item const*)'
obj//player.o:player.cpp:(.text+0x14c38): undefined reference to `ProtocolGame::sendUpdateInventoryItem(slots_t, Item const*)'
obj//player.o:player.cpp:(.text+0x14d19): undefined reference to `ProtocolGame::sendRemoveInventoryItem(slots_t)'
obj//player.o:player.cpp:(.text+0x14db3): undefined reference to `ProtocolGame::sendUpdateInventoryItem(slots_t, Item const*)'
obj//player.o:player.cpp:(.text+0x14def): undefined reference to `ProtocolGame::sendRemoveInventoryItem(slots_t)'

obj//player.o:player.cpp:(.text+0x15a0d): undefined reference to `ProtocolGame::sendCancelTarget()'
obj//player.o:player.cpp:(.text+0x15b16): undefined reference to `ProtocolGame::sendCancelTarget()'
obj//player.o:player.cpp:(.text+0x16701): undefined reference to `ProtocolGame::sendCancelWalk()'
obj//player.o:player.cpp:(.text+0x16c14): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0x17462): undefined reference to `ProtocolGame::sendCreatureSkull(Creature const*)'
obj//player.o:player.cpp:(.text+0x1930e): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0x21f22): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//player.o:player.cpp:(.text+0x226c3): undefined reference to `ProtocolGame::sendClosePrivate(unsigned short)'
obj//player.o:player.cpp:(.text+0x22d47): undefined reference to `ProtocolGame::sendCreatureShield(Creature const*)'
obj//player.o:player.cpp:(.text+0x22d62): undefined reference to `ProtocolGame::sendCreatureSkull(Creature const*)'
obj//spells.o:spells.cpp:(.text+0xfa53): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//spells.o:spells.cpp:(.text+0x10183): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x28f4): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x2ec4): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x5d76): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x604e): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x6312): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x6536): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x6751): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x6985): more undefined references to `ProtocolGame::sendCancel(std::string const&)' follow
obj//talkaction.o:talkaction.cpp:(.text+0x7400): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x7b2a): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x7d95): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x7ff7): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x8244): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x84bb): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x87cd): more undefined references to `ProtocolGame::sendCancel(std::string const&)' follow
obj//talkaction.o:talkaction.cpp:(.text+0x95f6): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x9a28): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x9c4e): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x9e74): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0xa3ef): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0xa876): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0xad1b): more undefined references to `ProtocolGame::sendCancel(std::string const&)' follow

obj//talkaction.o:talkaction.cpp:(.text+0xbc35): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0xc24b): undefined reference to `ProtocolGame::sendCreatureOutfit(Creature const*, Outfit_t const&)'
obj//talkaction.o:talkaction.cpp:(.text+0xc269): undefined reference to `ProtocolGame::sendCreatureInvisible(Creature const*)'
obj//talkaction.o:talkaction.cpp:(.text+0xc2fc): undefined reference to `ProtocolGame::sendRemoveCreature(Creature const*, Position const&, unsigned int, bool)'
obj//talkaction.o:talkaction.cpp:(.text+0xc342): undefined reference to `ProtocolGame::sendMagicEffect(Position const&, unsigned char)'
obj//talkaction.o:talkaction.cpp:(.text+0xc39e): undefined reference to `ProtocolGame::sendAddCreature(Creature const*, Position const&, unsigned int, bool)'
obj//talkaction.o:talkaction.cpp:(.text+0xc3fd): undefined reference to `ProtocolGame::sendUpdateTile(Tile const*, Position const&)'
obj//talkaction.o:talkaction.cpp:(.text+0xc727): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0xca71): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0xd3bf): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0xe60d): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'

obj//talkaction.o:talkaction.cpp:(.text+0xe844): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x12106): more undefined references to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)' follow
obj//talkaction.o:talkaction.cpp:(.text+0x14cc2): undefined reference to `ProtocolGame::sendFYIBox(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x150e2): undefined reference to `ProtocolGame::sendTutorial(unsigned char)'
obj//talkaction.o:talkaction.cpp:(.text+0x169d9): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x17155): undefined reference to `ProtocolGame::sendTextMessage(MessageClasses, std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x1799f): undefined reference to `ProtocolGame::sendUpdateTile(Tile const*, Position const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x18f12): undefined reference to `ProtocolGame::sendFYIBox(std::string const&)'
obj//talkaction.o:talkaction.cpp:(.text+0x192a9): undefined reference to `ProtocolGame::sendCancel(std::string const&)'
obj//tile.o:tile.cpp:(.text+0xb17): undefined reference to `ProtocolGame::sendAddTileItem(Tile const*, Position const&, unsigned int, Item const*)'
obj//tile.o:tile.cpp:(.text+0xe39): undefined reference to `ProtocolGame::sendUpdateTileItem(Tile const*, Position const&, unsigned int, Item const*)'
obj//tile.o:tile.cpp:(.text+0x1199): undefined reference to `ProtocolGame::sendRemoveTileItem(Tile const*, Position const&, unsigned int)'
obj//tile.o:tile.cpp:(.text+0x130c): undefined reference to `ProtocolGame::sendUpdateTile(Tile const*, Position const&)'
obj//tile.o:tile.cpp:(.text+0x19e8): undefined reference to `ProtocolGame::sendMoveCreature(Creature const*, Tile const*, Position const&, unsigned int, Tile const*, Position const&, unsigned int, bool)'

make.exe: *** [TheForgottenServer.exe] Error 1

Execution terminated
 
Last edited:
Back
Top