Xiiiih issu é complicado e num intendoo muito bem ;x
- Fórum
- xTibia - Notícias e Suporte
- Soluções
- Archived
- Me Ajudem Sobre A Compilação Do Meu Otserver
BL
Me Ajudem Sobre A Compilação Do Meu Otserver
Por Bladedj, 14 de dez. de 2008 em Archived
otserv
tibia
script
3
407
info
Grupo: Campones
Registrado: 12/12/08
Posts: 2
Reputação: 0

17 de dezembro de 2008 às 13:44
17 de dezembro de 2008 às 13:48
Depende do distro que você está temtanto compilar.
Exemplo: TFS
A compilação dele é diferente de muitos outros distro em sql.
Tem que verificar isso e compilar de acordo com o distro


info
Grupo: Campones
Registrado: 15/01/08
Posts: 4
Reputação: 0
Char no Tibia: Slyn Akum
oi gente eu segui os passos para fazer um server em sql to topico http://www.xtibia.com/forum/Tutorial-Compi...erv-t62039.html
mas tem um problema pq na hora q vo compilar dao os seguintes erros:
Compilador: Default compiler
Building Makefile: "C:\Documents and Settings\Home\Desktop\Otserver\Server\Makefile.win"
Executando make clean
rm -f ../Objetos/account.o ../Objetos/actions.o ../Objetos/admin.o ../Objetos/allocator.o ../Objetos/ban.o ../Objetos/baseevents.o ../Objetos/beds.o ../Objetos/chat.o ../Objetos/combat.o ../Objetos/commands.o ../Objetos/condition.o ../Objetos/configmanager.o ../Objetos/connection.o ../Objetos/container.o ../Objetos/creature.o ../Objetos/creatureevent.o ../Objetos/cylinder.o ../Objetos/database.o ../Objetos/databasemysql.o ../Objetos/databaseodbc.o ../Objetos/databasepgsql.o ../Objetos/depot.o ../Objetos/exception.o ../Objetos/fileloader.o ../Objetos/game.o ../Objetos/house.o ../Objetos/housetile.o ../Objetos/ioaccount.o ../Objetos/iomapotbm.o ../Objetos/iomapserialize.o ../Objetos/iomapxml.o ../Objetos/ioplayer.o ../Objetos/item.o ../Objetos/items.o ../Objetos/logger.o ../Objetos/luascript.o ../Objetos/mailbox.o ../Objetos/map.o ../Objetos/md5.o ../Objetos/monster.o ../Objetos/monsters.o ../Objetos/movement.o ../Objetos/networkmessage.o ../Objetos/npc.o ../Objetos/otserv.o ../Objetos/outfit.o ../Objetos/outputmessage.o ../Objetos/party.o ../Objetos/player.o ../Objetos/position.o ../Objetos/protocol.o ../Objetos/protocolgame.o ../Objetos/protocollogin.o ../Objetos/protocolold.o ../Objetos/quests.o ../Objetos/raids.o ../Objetos/rsa.o ../Objetos/scheduler.o ../Objetos/scriptmanager.o ../Objetos/server.o ../Objetos/sha1.o ../Objetos/spawn.o ../Objetos/spells.o ../Objetos/status.o ../Objetos/talkaction.o ../Objetos/tasks.o ../Objetos/teleport.o ../Objetos/thing.o ../Objetos/tile.o ../Objetos/tools.o ../Objetos/trashholder.o ../Objetos/vocation.o ../Objetos/waitlist.o ../Objetos/weapons.o "Naruto Renegade.exe"
g++.exe -c ../Sources/account.cpp -o ../Objetos/account.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -I"C:/Dev-CPP/others/boost_1_33_1" -I"C:/Dev-CPP/others/lua-5.1/include" -D__WINDOWS__ -D__EXCEPTION_TRACER__ -D__USE_MYSQL__ -D__SKULLSYSTEM__
g++.exe -c ../Sources/actions.cpp -o ../Objetos/actions.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -I"C:/Dev-CPP/others/boost_1_33_1" -I"C:/Dev-CPP/others/lua-5.1/include" -D__WINDOWS__ -D__EXCEPTION_TRACER__ -D__USE_MYSQL__ -D__SKULLSYSTEM__
In file included from ../Sources/creature.h:27,
from ../Sources/player.h:25,
from ../Sources/actions.cpp:23:
../Sources/templates.h:29:28: boost/thread.hpp: No such file or directory
In file included from ../Sources/creature.h:27,
from ../Sources/player.h:25,
from ../Sources/actions.cpp:23:
../Sources/templates.h:80: error: `boost' has not been declared
../Sources/templates.h:80: error: ISO C++ forbids declaration of `recursive_mutex' with no type
../Sources/templates.h:80: error: expected `;' before "autoIDLock"
../Sources/templates.h: In constructor `AutoID::AutoID()':
../Sources/templates.h:57: error: `boost' has not been declared
../Sources/templates.h:57: error: `scoped_lock' undeclared (first use this function)
../Sources/templates.h:57: error: (Each undeclared identifier is reported only once for each function it appears in.)
../Sources/templates.h:57: error: expected `;' before "lockClass"
In file included from ../Sources/creature.h:28,
from ../Sources/player.h:25,
from ../Sources/actions.cpp:23:
../Sources/map.h:28:32: boost/shared_ptr.hpp: No such file or directory
In file included from ../Sources/creature.h:28,
from ../Sources/player.h:25,
from ../Sources/actions.cpp:23:
../Sources/map.h: At global scope:
../Sources/map.h:29: error: `boost' has not been declared
../Sources/map.h:29: error: expected nested-name-specifier before "shared_ptr"
../Sources/map.h:29: error: `shared_ptr' has not been declared
In file included from ../Sources/iomapserialize.h:28,
from ../Sources/map.h:33,
from ../Sources/creature.h:28,
from ../Sources/player.h:25,
from ../Sources/actions.cpp:23:
../Sources/database.h:233: error: `boost' has not been declared
../Sources/database.h:233: error: ISO C++ forbids declaration of `recursive_mutex' with no type
../Sources/database.h:233: error: expected `;' before "database_lock"
In file included from ../Sources/map.h:38,
from ../Sources/creature.h:28,
from ../Sources/player.h:25,
from ../Sources/actions.cpp:23:
../Sources/waypoints.h:32: error: `boost' has not been declared
../Sources/waypoints.h:32: error: expected init-declarator before '<' token
../Sources/waypoints.h:32: error: expected `,' or `;' before '<' token
../Sources/waypoints.h:38: error: variable or field `addWaypoint' declared void
../Sources/waypoints.h:38: error: expected `;' before '(' token
../Sources/waypoints.h:39: error: `Waypoint_ptr' does not name a type
../Sources/waypoints.h:42: error: `Waypoint_ptr' was not declared in this scope
../Sources/waypoints.h:42: error: template argument 2 is invalid
../Sources/waypoints.h:42: error: template argument 4 is invalid
../Sources/waypoints.h:42: error: ISO C++ forbids declaration of `WaypointMap' with no type
../Sources/waypoints.h:47: error: variable or field `addWaypoint' declared void
../Sources/waypoints.h:47: error: `Waypoints::addWaypoint' declared as an `inline' variable
../Sources/waypoints.h:47: error: `int Waypoints::addWaypoint' is not a static member of `class Waypoints'
../Sources/waypoints.h:47: error: `Waypoint_ptr' was not declared in this scope
../Sources/waypoints.h:48: error: expected `,' or `;' before '{' token
../Sources/waypoints.h:52: error: `Waypoint_ptr' does not name a type
In file included from ../Sources/creature.h:28,
from ../Sources/player.h:25,
from ../Sources/actions.cpp:23:
../Sources/map.h:98: error: `boost' has not been declared
../Sources/map.h:98: error: `shared_ptr' was not declared in this scope
../Sources/map.h:98: error: template argument 2 is invalid
../Sources/map.h:98: error: template argument 4 is invalid
../Sources/map.h:98: error: expected unqualified-id before '>' token
../Sources/map.h:98: error: expected `,' or `;' before '>' token
../Sources/map.h:268: error: `SpectatorCache' does not name a type
In file included from ../Sources/protocolgame.h:26,
from ../Sources/player.h:32,
from ../Sources/actions.cpp:23:
../Sources/protocol.h:24:29: boost/utility.hpp: No such file or directory
In file included from ../Sources/protocolgame.h:26,
from ../Sources/player.h:32,
from ../Sources/actions.cpp:23:
../Sources/protocol.h:36: error: `boost' has not been declared
../Sources/protocol.h:37: error: expected class-name before '{' token
In file included from ../Sources/game.h:37,
from ../Sources/actions.cpp:26:
../Sources/scheduler.h:24:26: boost/bind.hpp: No such file or directory
In file included from ../Sources/scheduler.h:29,
from ../Sources/game.h:37,
from ../Sources/actions.cpp:26:
../Sources/tasks.h:25:30: boost/function.hpp: No such file or directory
In file included from ../Sources/scheduler.h:29,
from ../Sources/game.h:37,
from ../Sources/actions.cpp:26:
../Sources/tasks.h:38: error: `boost' has not been declared
../Sources/tasks.h:38: error: expected `)' before '<' token
../Sources/tasks.h:42: error: `boost' has not been declared
../Sources/tasks.h:42: error: ISO C++ forbids declaration of `function' with no type
../Sources/tasks.h:42: error: expected `;' before '<' token
../Sources/tasks.h:44: error: `boost' has not been declared
../Sources/tasks.h:44: error: `createTask' is neither function nor member function; cannot be declared friend
../Sources/tasks.h:44: error: expected `;' before '(' token
../Sources/tasks.h: In member function `void Task::operator()()':
../Sources/tasks.h:33: error: `m_f' undeclared (first use this function)
../Sources/tasks.h: At global scope:
../Sources/tasks.h:47: error: `boost' has not been declared
../Sources/tasks.h:47: error: `createTask' declared as an `inline' variable
../Sources/tasks.h:47: error: `function' was not declared in this scope
../Sources/tasks.h:47: error: expected primary-expression before "void"
../Sources/tasks.h:47: error: expected `,' or `;' before '{' token
../Sources/tasks.h:84: error: `boost' has not been declared
../Sources/tasks.h:84: error: ISO C++ forbids declaration of `mutex' with no type
../Sources/tasks.h:84: error: expected `;' before "m_taskLock"
../Sources/tasks.h:85: error: `boost' has not been declared
../Sources/tasks.h:85: error: ISO C++ forbids declaration of `condition_variable' with no type
../Sources/tasks.h:85: error: expected `;' before "m_taskSignal"
In file included from ../Sources/game.h:37,
from ../Sources/actions.cpp:26:
../Sources/scheduler.h:42: error: `boost' has not been declared
../Sources/scheduler.h:42: error: ISO C++ forbids declaration of `system_time' with no type
../Sources/scheduler.h:42: error: expected `;' before "getCycle"
../Sources/scheduler.h:44: error: expected `;' before "bool"
../Sources/scheduler.h:51: error: `boost' has not been declared
../Sources/scheduler.h:51: error: `function' has not been declared
../Sources/scheduler.h:51: error: expected `,' or `...' before '<' token
../Sources/scheduler.h:51: error: ISO C++ forbids declaration of `parameter' with no type
../Sources/scheduler.h:56: error: `boost' has not been declared
../Sources/scheduler.h:56: error: ISO C++ forbids declaration of `system_time' with no type
../Sources/scheduler.h:56: error: expected `;' before "m_cycle"
../Sources/scheduler.h:59: error: `boost' has not been declared
../Sources/scheduler.h:59: error: `function' has not been declared
../Sources/scheduler.h:59: error: expected `,' or `...' before '<' token
../Sources/scheduler.h:59: error: ISO C++ forbids declaration of `parameter' with no type
../Sources/scheduler.h: In member function `bool SchedulerTask::operator<(const SchedulerTask&) const':
../Sources/scheduler.h:46: error: `getCycle' undeclared (first use this function)
../Sources/scheduler.h:46: error: 'const class SchedulerTask' has no member named 'getCycle'
../Sources/scheduler.h: In constructor `SchedulerTask::SchedulerTask(uint32_t, int)':
../Sources/scheduler.h:51: error: `f' undeclared (first use this function)
../Sources/scheduler.h:52: error: `m_cycle' undeclared (first use this function)
../Sources/scheduler.h:52: error: `boost' has not been declared
../Sources/scheduler.h:52: error: `get_system_time' undeclared (first use this function)
../Sources/scheduler.h:52: error: `boost' has not been declared
../Sources/scheduler.h:52: error: `milliseconds' undeclared (first use this function)
../Sources/scheduler.h: At global scope:
../Sources/scheduler.h:62: error: `boost' has not been declared
../Sources/scheduler.h:62: error: `function' has not been declared
../Sources/scheduler.h:62: error: expected `,' or `...' before '<' token
../Sources/scheduler.h:63: error: ISO C++ forbids declaration of `parameter' with no type
../Sources/scheduler.h: In function `SchedulerTask* createSchedulerTask(uint32_t, int)':
../Sources/scheduler.h:68: error: `f' undeclared (first use this function)
../Sources/scheduler.h: At global scope:
../Sources/scheduler.h:107: error: `boost' has not been declared
../Sources/scheduler.h:107: error: ISO C++ forbids declaration of `mutex' with no type
../Sources/scheduler.h:107: error: expected `;' before "m_eventLock"
../Sources/scheduler.h:108: error: `boost' has not been declared
../Sources/scheduler.h:108: error: ISO C++ forbids declaration of `condition_variable' with no type
../Sources/scheduler.h:108: error: expected `;' before "m_eventSignal"
In file included from ../Sources/actions.cpp:26:
../Sources/game.h:95: error: `shared_ptr' was not declared in this scope
../Sources/game.h:95: error: template argument 2 is invalid
../Sources/game.h:95: error: template argument 4 is invalid
../Sources/game.h:95: error: expected unqualified-id before '>' token
../Sources/game.h:95: error: expected `,' or `;' before '>' token
../Sources/game.h:503: error: ISO C++ forbids declaration of `RuleViolationsMap' with no type
../Sources/game.h:503: error: expected `;' before '&' token
../Sources/game.h:504: error: expected `;' before "bool"
../Sources/game.h:525: error: `RuleViolationsMap' does not name a type
In file included from ../Sources/actions.cpp:30:
../Sources/house.h:28:27: boost/regex.hpp: No such file or directory
In file included from ../Sources/actions.cpp:30:
../Sources/house.h:60: error: `boost' has not been declared
../Sources/house.h:60: error: `regex' was not declared in this scope
../Sources/house.h:60: error: template argument 1 is invalid
../Sources/house.h:60: error: template argument 1 is invalid
../Sources/house.h:60: error: template argument 2 is invalid
../Sources/house.h:60: error: ISO C++ forbids declaration of `RegExList' with no type
make.exe: *** [../Objetos/actions.o] Error 1
Execução terminada
________________________________________________________________________________
_________________
me ajudem ae fazendo favor, me digam onde eu errei e coisa e tals.
lembrando eu segui a parte do criando um servidor em sql