Ir para conteúdo

Tutorial De Compilação Para Otserv!


Posts Recomendados

Olá XTibianos e Gabriel '-'

 

...Bom por onde eu começo.. aahh sim, esse seu tutorial ou de outra pessoa seja lá quem for, está muito bem explicado, mas eu parei em uma parte, nos Downloads.

Quer dizer, o GMP não tem link, não vou continuar o Tuto. faltando um arquivo, claro eu dei uma olhada, mas não continuei, outra dúvida que outros também tiveram que é sobre DevC++ LIB's Gente, os libs são os links abaixo o_o' me corrijam se eu estiver errado.

 

2.2.3 - DevC++ LIB's

2.2.3.1 - libiconv - Download AQUI

2.2.3.2 - libxml - Download AQUI

2.2.3.4 - libmysql - Download AQUI

2.2.3.5 - GMP - Download AQUI

 

Qualquer 1 que souber por favor me ajude.

 

Aguardando u_u

 

Edit

 

Consegui o GMP, segui o Tutorial fiz tudo certo, então quando começa a compilar, ele digamos que "acaba" rapido e mostra erros ali naquela janela embaixo, e antes de começar ele fala outra coisa fala algo sobre a pasta Servidor.

 

Fiz tudo certo, acho que está faltando algo no SVN/Source.

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

  • 3 weeks later...

Quando eu Uso o Tortoise SVN...

 

Não vem alguns arquivos como o:

 

ioaccountsql.cpp

ioaccountsql.h

ioplayersql.cpp

ioplayersql.h

iomapserializesql.cpp

iomapserializesql.h

 

Help Me??

E tambem não conseguir achar pra Download alguns arquivos!

Link para o comentário
Compartilhar em outros sites

  • 2 weeks later...

Quando eu Uso o Tortoise SVN...

 

Não vem alguns arquivos como o:

 

ioaccountsql.cpp

ioaccountsql.h

ioplayersql.cpp

ioplayersql.h

iomapserializesql.cpp

iomapserializesql.h

 

Help Me??

E tambem não conseguir achar pra Download alguns arquivos!

 

Mesma coisa aqui, so que tbm nao etendi aquela parte..

 

inclua todos os arquivos deixando APENAS os seguintes: exemplo sera que vo da um Ctr+A depois tirar aquelesa baixo? O vo da um ctr+A e deixa apenas aqueles a baiaxo? dexando sem aquelas pastas que vem nas souces?

database.cpp

database.h

databasesqlite.cpp

databasesqlite.h

databasemysql.cpp

databasemysql.h

ioaccountsql.cpp

ioaccountsql.h

ioplayersql.cpp

ioplayersql.h

iomapserializesql.cpp

iomapserializesql.h

 

Se alguem Comseguil Compilar, Porfavor me responda O mais rapido Possível Minhas Duvidas :smile_positivo:

Link para o comentário
Compartilhar em outros sites

Quando eu Uso o Tortoise SVN...

 

Não vem alguns arquivos como o:

 

ioaccountsql.cpp

ioaccountsql.h

ioplayersql.cpp

ioplayersql.h

iomapserializesql.cpp

iomapserializesql.h

 

Help Me??

E tambem não conseguir achar pra Download alguns arquivos!

 

Mesma coisa aqui, so que tbm nao etendi aquela parte..

 

inclua todos os arquivos deixando APENAS os seguintes: exemplo sera que vo da um Ctr+A depois tirar aquelesa baixo? O vo da um ctr+A e deixa apenas aqueles a baiaxo? dexando sem aquelas pastas que vem nas souces?

database.cpp

database.h

databasesqlite.cpp

databasesqlite.h

databasemysql.cpp

databasemysql.h

ioaccountsql.cpp

ioaccountsql.h

ioplayersql.cpp

ioplayersql.h

iomapserializesql.cpp

iomapserializesql.h

 

Se alguem Comseguil Compilar, Porfavor me responda O mais rapido Possível Minhas Duvidas :smile_positivo:

TBM GOSTARIA DE SABER!

Link para o comentário
Compartilhar em outros sites

  • 2 weeks later...
  • 2 weeks later...

n consigui faze tb, aqui da 96 erros

 

In file included from ../TFS/Source/creature.h:29,

from ../TFS/Source/player.h:25,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/condition.h:29:30: libxml/xmlmemory.h: No such file or directory

../TFS/Source/condition.h:30:27: libxml/parser.h: No such file or directory

In file included from ../TFS/Source/creature.h:29,

from ../TFS/Source/player.h:25,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/condition.h:129: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:130: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:130: error: expected `;' before '(' token

 

../TFS/Source/condition.h:186: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:187: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:187: error: expected `;' before '(' token

 

../TFS/Source/condition.h:217: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:218: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:218: error: expected `;' before '(' token

 

../TFS/Source/condition.h:246: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:247: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:247: error: expected `;' before '(' token

 

../TFS/Source/condition.h:292: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:293: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:293: error: expected `;' before '(' token

 

../TFS/Source/condition.h:340: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:341: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:341: error: expected `;' before '(' token

 

../TFS/Source/condition.h:375: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:376: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:376: error: expected `;' before '(' token

 

../TFS/Source/condition.h:404: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:405: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:405: error: expected `;' before '(' token

 

In file included from ../TFS/Source/tile.h:27,

 

from ../TFS/Source/creature.h:31,

from ../TFS/Source/player.h:25,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/item.h:227: error: `unserialize' declared as a `virtual' field

../TFS/Source/item.h:227: error: expected `;' before '(' token

../TFS/Source/item.h:228: error: `xmlNodePtr' does not name a type

 

In file included from ../TFS/Source/creatureevent.h:25,

from ../TFS/Source/creature.h:33,

from ../TFS/Source/player.h:25,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/baseevents.h:44: error: `xmlNodePtr' has not been declared

../TFS/Source/baseevents.h:44: error: ISO C++ forbids declaration of `p' with no type

 

../TFS/Source/baseevents.h:57: error: `configureEvent' declared as a `virtual' field

../TFS/Source/baseevents.h:57: error: expected `;' before '(' token

In file included from ../TFS/Source/creature.h:33,

from ../TFS/Source/player.h:25,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/creatureevent.h:54: error: `xmlNodePtr' has not been declared

../TFS/Source/creatureevent.h:54: error: ISO C++ forbids declaration of `p' with no type

 

../TFS/Source/creatureevent.h:74: error: `configureEvent' declared as a `virtual' field

../TFS/Source/creatureevent.h:74: error: expected `;' before '(' token

 

In file included from ../TFS/Source/player.h:26,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/container.h:44: error: `unserialize' declared as a `virtual' field

../TFS/Source/container.h:44: error: expected `;' before '(' token

../TFS/Source/container.h:45: error: `xmlNodePtr' does not name a type

 

In file included from ../TFS/Source/player.h:27,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/depot.h:35: error: `unserialize' declared as a `virtual' field

../TFS/Source/depot.h:35: error: expected `;' before '(' token

../TFS/Source/depot.h:36: error: `xmlNodePtr' does not name a type

 

In file included from ../TFS/Source/monster.h:26,

from ../TFS/Source/actions.cpp:25:

../TFS/Source/monsters.h:162: error: expected `;' before '(' token

 

../TFS/Source/monsters.h:166: error: expected `;' before '(' token

../TFS/Source/monsters.h:167: error: expected `;' before '(' token

 

In file included from ../TFS/Source/map.h:35,

from ../TFS/Source/game.h:29,

from ../TFS/Source/actions.cpp:27:

../TFS/Source/tools.h:48: error: `xmlNodePtr' was not declared in this scope

../TFS/Source/tools.h:48: error: expected primary-expression before "const"

../TFS/Source/tools.h:48: error: expected primary-expression before "int"

../TFS/Source/tools.h:48: error: initializer expression list treated as compound expression

 

../TFS/Source/tools.h:49: error: `xmlNodePtr' was not declared in this scope

../TFS/Source/tools.h:49: error: expected primary-expression before "const"

../TFS/Source/tools.h:49: error: expected primary-expression before '&' token

../TFS/Source/tools.h:49: error: `value' was not declared in this scope

../TFS/Source/tools.h:49: error: initializer expression list treated as compound expression

 

../TFS/Source/tools.h:50: error: `xmlNodePtr' was not declared in this scope

../TFS/Source/tools.h:50: error: expected primary-expression before "const"

../TFS/Source/tools.h:50: error: expected primary-expression before "float"

../TFS/Source/tools.h:50: error: initializer expression list treated as compound expression

../TFS/Source/tools.h:51: error: `xmlNodePtr' was not declared in this scope

../TFS/Source/tools.h:51: error: expected primary-expression before "const"

 

../TFS/Source/tools.h:51: error: expected primary-expression before '&' token

../TFS/Source/tools.h:51: error: `value' was not declared in this scope

../TFS/Source/tools.h:51: error: initializer expression list treated as compound expression

 

In file included from ../TFS/Source/actions.cpp:32:

../TFS/Source/house.h:77: error: `unserialize' declared as a `virtual' field

../TFS/Source/house.h:77: error: expected `;' before '(' token

../TFS/Source/house.h:78: error: `xmlNodePtr' does not name a type

 

In file included from ../TFS/Source/spells.h:28,

from ../TFS/Source/actions.cpp:35:

../TFS/Source/actions.h:74: error: `xmlNodePtr' has not been declared

../TFS/Source/actions.h:74: error: ISO C++ forbids declaration of `p' with no type

 

../TFS/Source/actions.h:93: error: `configureEvent' declared as a `virtual' field

../TFS/Source/actions.h:93: error: expected `;' before '(' token

 

In file included from ../TFS/Source/spells.h:29,

from ../TFS/Source/actions.cpp:35:

../TFS/Source/talkaction.h:52: error: `xmlNodePtr' has not been declared

../TFS/Source/talkaction.h:52: error: ISO C++ forbids declaration of `p' with no type

 

../TFS/Source/talkaction.h:67: error: `configureEvent' declared as a `virtual' field

../TFS/Source/talkaction.h:67: error: expected `;' before '(' token

 

In file included from ../TFS/Source/actions.cpp:35:

../TFS/Source/spells.h:69: error: `xmlNodePtr' has not been declared

../TFS/Source/spells.h:69: error: ISO C++ forbids declaration of `p' with no type

 

../TFS/Source/spells.h:98: error: `configureEvent' declared as a `virtual' field

../TFS/Source/spells.h:98: error: expected `;' before '(' token

../TFS/Source/spells.h:101: error: expected `;' before "bool"

 

../TFS/Source/spells.h:118: error: expected `;' before '(' token

 

../TFS/Source/spells.h:175: error: `configureEvent' declared as a `virtual' field

../TFS/Source/spells.h:175: error: expected `;' before '(' token

 

../TFS/Source/spells.h:220: error: `configureEvent' declared as a `virtual' field

../TFS/Source/spells.h:220: error: expected `;' before '(' token

 

../TFS/Source/spells.h:257: error: `configureEvent' declared as a `virtual' field

../TFS/Source/spells.h:257: error: expected `;' before '(' token

 

../TFS/Source/actions.cpp:101: error: `xmlNodePtr' has not been declared

 

../TFS/Source/actions.cpp:102: error: ISO C++ forbids declaration of `p' with no type

../TFS/Source/actions.cpp: In member function `virtual bool Actions::registerEvent(Event*, int)':

../TFS/Source/actions.cpp:108: error: `readXMLInteger' cannot be used as a function

../TFS/Source/actions.cpp:111: error: `readXMLInteger' cannot be used as a function

../TFS/Source/actions.cpp:114: error: `readXMLInteger' cannot be used as a function

 

../TFS/Source/actions.cpp: At global scope:

../TFS/Source/actions.cpp:503: error: `bool Action::configureEvent' is not a static member of `class Action'

../TFS/Source/actions.cpp:503: error: `xmlNodePtr' was not declared in this scope

../TFS/Source/actions.cpp:504: error: expected `,' or `;' before '{' token

 

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

 

Execução terminada

Link para o comentário
Compartilhar em outros sites

@todos

Atenção: este tutorial está obsoleto e por este motivo vocês não conseguirão compilar o server. Caso queriam compilar CORRETAMENTE, visitem este tutorial: tutorial descente

 

n consigui faze tb, aqui da 96 erros

 

In file included from ../TFS/Source/creature.h:29,

from ../TFS/Source/player.h:25,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/condition.h:29:30: libxml/xmlmemory.h: No such file or directory

../TFS/Source/condition.h:30:27: libxml/parser.h: No such file or directory

In file included from ../TFS/Source/creature.h:29,

from ../TFS/Source/player.h:25,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/condition.h:129: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:130: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:130: error: expected `;' before '(' token

 

../TFS/Source/condition.h:186: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:187: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:187: error: expected `;' before '(' token

 

../TFS/Source/condition.h:217: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:218: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:218: error: expected `;' before '(' token

 

../TFS/Source/condition.h:246: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:247: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:247: error: expected `;' before '(' token

 

../TFS/Source/condition.h:292: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:293: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:293: error: expected `;' before '(' token

 

../TFS/Source/condition.h:340: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:341: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:341: error: expected `;' before '(' token

 

../TFS/Source/condition.h:375: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:376: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:376: error: expected `;' before '(' token

 

../TFS/Source/condition.h:404: error: `xmlNodePtr' does not name a type

../TFS/Source/condition.h:405: error: `unserialize' declared as a `virtual' field

../TFS/Source/condition.h:405: error: expected `;' before '(' token

 

In file included from ../TFS/Source/tile.h:27,

 

from ../TFS/Source/creature.h:31,

from ../TFS/Source/player.h:25,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/item.h:227: error: `unserialize' declared as a `virtual' field

../TFS/Source/item.h:227: error: expected `;' before '(' token

../TFS/Source/item.h:228: error: `xmlNodePtr' does not name a type

 

In file included from ../TFS/Source/creatureevent.h:25,

from ../TFS/Source/creature.h:33,

from ../TFS/Source/player.h:25,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/baseevents.h:44: error: `xmlNodePtr' has not been declared

../TFS/Source/baseevents.h:44: error: ISO C++ forbids declaration of `p' with no type

 

../TFS/Source/baseevents.h:57: error: `configureEvent' declared as a `virtual' field

../TFS/Source/baseevents.h:57: error: expected `;' before '(' token

In file included from ../TFS/Source/creature.h:33,

from ../TFS/Source/player.h:25,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/creatureevent.h:54: error: `xmlNodePtr' has not been declared

../TFS/Source/creatureevent.h:54: error: ISO C++ forbids declaration of `p' with no type

 

../TFS/Source/creatureevent.h:74: error: `configureEvent' declared as a `virtual' field

../TFS/Source/creatureevent.h:74: error: expected `;' before '(' token

 

In file included from ../TFS/Source/player.h:26,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/container.h:44: error: `unserialize' declared as a `virtual' field

../TFS/Source/container.h:44: error: expected `;' before '(' token

../TFS/Source/container.h:45: error: `xmlNodePtr' does not name a type

 

In file included from ../TFS/Source/player.h:27,

from ../TFS/Source/actions.cpp:24:

../TFS/Source/depot.h:35: error: `unserialize' declared as a `virtual' field

../TFS/Source/depot.h:35: error: expected `;' before '(' token

../TFS/Source/depot.h:36: error: `xmlNodePtr' does not name a type

 

In file included from ../TFS/Source/monster.h:26,

from ../TFS/Source/actions.cpp:25:

../TFS/Source/monsters.h:162: error: expected `;' before '(' token

 

../TFS/Source/monsters.h:166: error: expected `;' before '(' token

../TFS/Source/monsters.h:167: error: expected `;' before '(' token

 

In file included from ../TFS/Source/map.h:35,

from ../TFS/Source/game.h:29,

from ../TFS/Source/actions.cpp:27:

../TFS/Source/tools.h:48: error: `xmlNodePtr' was not declared in this scope

../TFS/Source/tools.h:48: error: expected primary-expression before "const"

../TFS/Source/tools.h:48: error: expected primary-expression before "int"

../TFS/Source/tools.h:48: error: initializer expression list treated as compound expression

 

../TFS/Source/tools.h:49: error: `xmlNodePtr' was not declared in this scope

../TFS/Source/tools.h:49: error: expected primary-expression before "const"

../TFS/Source/tools.h:49: error: expected primary-expression before '&' token

../TFS/Source/tools.h:49: error: `value' was not declared in this scope

../TFS/Source/tools.h:49: error: initializer expression list treated as compound expression

 

../TFS/Source/tools.h:50: error: `xmlNodePtr' was not declared in this scope

../TFS/Source/tools.h:50: error: expected primary-expression before "const"

../TFS/Source/tools.h:50: error: expected primary-expression before "float"

../TFS/Source/tools.h:50: error: initializer expression list treated as compound expression

../TFS/Source/tools.h:51: error: `xmlNodePtr' was not declared in this scope

../TFS/Source/tools.h:51: error: expected primary-expression before "const"

 

../TFS/Source/tools.h:51: error: expected primary-expression before '&' token

../TFS/Source/tools.h:51: error: `value' was not declared in this scope

../TFS/Source/tools.h:51: error: initializer expression list treated as compound expression

 

In file included from ../TFS/Source/actions.cpp:32:

../TFS/Source/house.h:77: error: `unserialize' declared as a `virtual' field

../TFS/Source/house.h:77: error: expected `;' before '(' token

../TFS/Source/house.h:78: error: `xmlNodePtr' does not name a type

 

In file included from ../TFS/Source/spells.h:28,

from ../TFS/Source/actions.cpp:35:

../TFS/Source/actions.h:74: error: `xmlNodePtr' has not been declared

../TFS/Source/actions.h:74: error: ISO C++ forbids declaration of `p' with no type

 

../TFS/Source/actions.h:93: error: `configureEvent' declared as a `virtual' field

../TFS/Source/actions.h:93: error: expected `;' before '(' token

 

In file included from ../TFS/Source/spells.h:29,

from ../TFS/Source/actions.cpp:35:

../TFS/Source/talkaction.h:52: error: `xmlNodePtr' has not been declared

../TFS/Source/talkaction.h:52: error: ISO C++ forbids declaration of `p' with no type

 

../TFS/Source/talkaction.h:67: error: `configureEvent' declared as a `virtual' field

../TFS/Source/talkaction.h:67: error: expected `;' before '(' token

 

In file included from ../TFS/Source/actions.cpp:35:

../TFS/Source/spells.h:69: error: `xmlNodePtr' has not been declared

../TFS/Source/spells.h:69: error: ISO C++ forbids declaration of `p' with no type

 

../TFS/Source/spells.h:98: error: `configureEvent' declared as a `virtual' field

../TFS/Source/spells.h:98: error: expected `;' before '(' token

../TFS/Source/spells.h:101: error: expected `;' before "bool"

 

../TFS/Source/spells.h:118: error: expected `;' before '(' token

 

../TFS/Source/spells.h:175: error: `configureEvent' declared as a `virtual' field

../TFS/Source/spells.h:175: error: expected `;' before '(' token

 

../TFS/Source/spells.h:220: error: `configureEvent' declared as a `virtual' field

../TFS/Source/spells.h:220: error: expected `;' before '(' token

 

../TFS/Source/spells.h:257: error: `configureEvent' declared as a `virtual' field

../TFS/Source/spells.h:257: error: expected `;' before '(' token

 

../TFS/Source/actions.cpp:101: error: `xmlNodePtr' has not been declared

 

../TFS/Source/actions.cpp:102: error: ISO C++ forbids declaration of `p' with no type

../TFS/Source/actions.cpp: In member function `virtual bool Actions::registerEvent(Event*, int)':

../TFS/Source/actions.cpp:108: error: `readXMLInteger' cannot be used as a function

../TFS/Source/actions.cpp:111: error: `readXMLInteger' cannot be used as a function

../TFS/Source/actions.cpp:114: error: `readXMLInteger' cannot be used as a function

 

../TFS/Source/actions.cpp: At global scope:

../TFS/Source/actions.cpp:503: error: `bool Action::configureEvent' is not a static member of `class Action'

../TFS/Source/actions.cpp:503: error: `xmlNodePtr' was not declared in this scope

../TFS/Source/actions.cpp:504: error: expected `,' or `;' before '{' token

 

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

 

Execução terminada

 

olha pra compila o TFS vc vai precisar de outras coisas como esse compilador:

http://213.114.244.253/~talaturen/theforgottendevcpp15.7z

 

Linker:

-O1
-lboost_system
-lgmp
-lluasql_mysql
-lluasql_sqlite
-llua5.1
-lmysql
-lboost_regex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s

 

C++ Compiler:

-D__USE_MYSQL__
-D__USE_SQLITE__

 

Caso você não consiga então procure por tutoriais em: OTLand pois esse é o forum oficial do TFS

Link para o comentário
Compartilhar em outros sites

muito bom!

 

ja tinha tentado compilar ot svn com dev cpp, mas dava um erro num tal de l_boost_system.

 

agora vo tentar compilar com seu torial, espero que dê certo.

 

valeu! :smile_positivo:

 

:XTibia_smile:

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...