Ir para conteúdo

[Duvida] Libs Para Compilar Tfs 0.4


97582348

Posts Recomendados

estou tentando complilar um projeto de uma tfs 0.4 porem nao sei qual libs devo instalar no DEV c++

sempre que tento compilar o complilador retorna uma mensagem de erros

 

alguem poderia me informar quals libs sao ou como corrigir o erro

 

 

Compilador: Default compiler

Building Makefile: "C:\Users\André\Desktop\trunk.r3777\dev-cpp\Makefile.win"

Executando make...

make.exe -f "C:\Users\André\Desktop\trunk.r3777\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 ../otsystem.h:35,

from ../baseevents.h:20,

from ../actions.h:20,

from ../actions.cpp:20:

C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/boost/foreach.hpp:362: error: `range_mutable_iterator' was not declared in this scope

C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/boost/foreach.hpp:363: error: template argument 3 is invalid

C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/boost/foreach.hpp:363: error: expected unqualified-id before '>' token

 

In file included from ../luascript.h:39,

from ../baseevents.h:22,

from ../actions.h:20,

from ../actions.cpp:20:

../database.h: In constructor `DBQuery::DBQuery()':

../database.h:248: error: 'class boost::recursive_mutex' has no member named 'lock'

 

../database.h: In destructor `virtual DBQuery::~DBQuery()':

../database.h:249: error: 'class boost::recursive_mutex' has no member named 'unlock'

 

In file included from ../baseevents.h:22,

from ../actions.h:20,

from ../actions.cpp:20:

../luascript.h: At global scope:

../luascript.h:669: error: `luaL_Reg' does not name a type

../luascript.h:672: error: `luaL_Reg' does not name a type

 

../luascript.h:681: error: `luaL_Reg' does not name a type

../luascript.h:689: error: `luaL_Reg' does not name a type

../luascript.h:703: error: `luaL_Reg' does not name a type

 

In file included from ../scheduler.h:22,

from ../game.h:24,

from ../actions.cpp:30:

../dispatcher.h:46: error: using-declaration for non-member at class scope

../dispatcher.h:46: error: expected `;' before "m_expiration"

 

../dispatcher.h: In constructor `Task::Task(const boost::function<void ()(), std::allocator<void> >&)':

../dispatcher.h:28: error: class `Task' does not have any field named `m_expiration'

 

../dispatcher.h: In constructor `Task::Task(uint32_t, const boost::function<void ()(), std::allocator<void> >&)':

../dispatcher.h:30: error: class `Task' does not have any field named `m_expiration'

../dispatcher.h:31: error: `get_system_time' is not a member of `boost'

 

../dispatcher.h: In member function `void Task::unsetExpiration()':

../dispatcher.h:36: error: `m_expiration' undeclared (first use this function)

../dispatcher.h:36: error: (Each undeclared identifier is reported only once for each function it appears in.)

../dispatcher.h: In member function `bool Task::hasExpired() const':

../dispatcher.h:39: error: `m_expiration' undeclared (first use this function)

../dispatcher.h:42: error: `get_system_time' is not a member of `boost'

 

../dispatcher.h: At global scope:

../dispatcher.h:88: error: using-declaration for non-member at class scope

../dispatcher.h:88: error: expected `;' before "m_taskSignal"

 

In file included from ../game.h:24,

from ../actions.cpp:30:

../scheduler.h:33: error: using-declaration for non-member at class scope

../scheduler.h:33: error: expected `;' before "getCycle"

../scheduler.h:34: error: expected `;' before "bool"

 

../scheduler.h: In member function `bool SchedulerTask::operator<(const SchedulerTask&) const':

../scheduler.h:34: error: `getCycle' undeclared (first use this function)

../scheduler.h:34: error: 'const class SchedulerTask' has no member named 'getCycle'

../scheduler.h: At global scope:

../scheduler.h:90: error: using-declaration for non-member at class scope

../scheduler.h:90: error: expected `;' before "m_eventSignal"

 

In file included from C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/boost/unordered_set.hpp:16,

from C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/boost/tr1/unordered_set.hpp:21,

from ../house.h:23,

from ../actions.cpp:36:

C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/boost/unordered/unordered_set.hpp:137: error: expected `)' before '<' token

C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/boost/unordered/unordered_set.hpp:146: error: declaration of `operator=' as non-function

C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/boost/unordered/unordered_set.hpp:146: error: expected `;' before '(' token

C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/boost/unordered/unordered_set.hpp:154: error: expected `;' before "private"

 

C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/boost/unordered/unordered_set.hpp:515: error: expected `)' before '<' token

 

C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/boost/unordered/unordered_set.hpp:524: error: declaration of `operator=' as non-function

C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/boost/unordered/unordered_set.hpp:524: error: expected `;' before '(' token

C:/Dev-Cpp/Bin/../lib/gcc/mingw32/3.4.2/../../../../include/boost/unordered/unordered_set.hpp:532: error: expected `;' before "private"

 

make.exe: *** [obj//actions.o] Error 1

 

Execução terminada

 

 

 

Ja complementando gostaria de compilar o Brasilian server (8.62)

e saber se voces sabem me informar se ele aceita este sistema

http://www.xtibia.com/forum/topic/155489-gesior-acc-guild-war-system-com-escudos/

 

caso aceite gostaria de resolver o poblema abaicho de complilação

sempre que tento compilalo o compilador me retorna o erro

 

 

Compilador: Default compiler

Building Makefile: "C:\Users\André\Desktop\tags\0.1\dev-cpp\Makefile.win"

Executando make...

make.exe -f "C:\Users\André\Desktop\tags\0.1\dev-cpp\Makefile.win" all

g++.exe -c ../actions.cpp -o obj/actions.o -I"include" -D__WINDOWS__ -D__EXCEPTION_TRACER__ -02 -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__OLD_GUILD_SYSTEM__ -D__GUILDWARSLUARELOAD__ -D__SKULLSYSTEM__ -fexpensive-optimizations -O1

 

In file included from ../definitions.h:74,

from ../otpch.h:8,

from ../actions.cpp:20:

../compiler/mingw32.h:27:1: warning: "__WINDOWS__" redefined

<command line>:1:1: warning: this is the location of the previous definition

In file included from ../actions.h:27,

from ../actions.cpp:22:

../luascript.h:680: error: `luaL_Reg' does not name a type

 

In file included from ../scheduler.h:25,

from ../game.h:33,

from ../actions.cpp:27:

../tasks.h:59: error: using-declaration for non-member at class scope

 

../tasks.h:59: error: expected `;' before "m_expiration"

 

../tasks.h: In constructor `Task::Task(uint32_t, const boost::function<void ()(), std::allocator<void> >&)':

../tasks.h:36: error: `m_expiration' undeclared (first use this function)

 

../tasks.h:36: error: (Each undeclared identifier is reported only once for each function it appears in.)

 

../tasks.h:36: error: `get_system_time' is not a member of `boost'

 

../tasks.h:36: error: `boost::posix_time' has not been declared

 

../tasks.h:36: error: `milliseconds' undeclared (first use this function)

 

../tasks.h: In constructor `Task::Task(const boost::function<void ()(), std::allocator<void> >&)':

../tasks.h:39: error: class `Task' does not have any field named `m_expiration'

 

../tasks.h:39: error: `boost::date_time' has not been declared

 

../tasks.h:39: error: `not_a_date_time' undeclared (first use this function)

 

../tasks.h: In member function `void Task::setDontExpire()':

../tasks.h:48: error: `m_expiration' undeclared (first use this function)

 

../tasks.h:48: error: `boost::date_time' has not been declared

 

../tasks.h:48: error: `not_a_date_time' undeclared (first use this function)

 

../tasks.h: In member function `bool Task::hasExpired() const':

../tasks.h:51: error: `m_expiration' undeclared (first use this function)

../tasks.h:51: error: `boost::date_time' has not been declared

../tasks.h:51: error: `not_a_date_time' undeclared (first use this function)

../tasks.h:53: error: `get_system_time' is not a member of `boost'

 

../tasks.h: At global scope:

../tasks.h:101: error: using-declaration for non-member at class scope

../tasks.h:101: error: expected `;' before "m_taskSignal"

 

In file included from ../game.h:33,

from ../actions.cpp:27:

../scheduler.h:42: error: using-declaration for non-member at class scope

../scheduler.h:42: error: expected `;' before "getCycle"

../scheduler.h:44: error: expected `;' before "bool"

 

../scheduler.h: In member function `bool SchedulerTask::operator<(const SchedulerTask&) const':

../scheduler.h:46: error: `getCycle' undeclared (first use this function)

../scheduler.h:46: error: 'const class SchedulerTask' has no member named 'getCycle'

 

../scheduler.h: At global scope:

../scheduler.h:101: error: using-declaration for non-member at class scope

../scheduler.h:101: error: expected `;' before "m_eventSignal"

 

g++.exe: unrecognized option `-02'

 

make.exe: *** [obj/actions.o] Error 1

 

Execução terminada

 

 

 

 

Des de Ja REPP

pra quem me ajudar

e um muito obrigado

Link para o comentário
Compartilhar em outros sites

http://thebrazilianser.svn.sourceforge.net/viewvc/thebrazilianser/otserv/trunk/

 

 

E

 

http://thebrazilianser.svn.sourceforge.net/viewvc/thebrazilianser/otserv/tags/

 

 

Mais a preferencia e pro segundo do SVN da pasta tags

Editado por AndreMaster
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...