Ir para conteúdo
  • Cadastre-se

Ajuda Compilar TFS 1.0 Debian


Posts Recomendados

Segui o tutorial:
 
Compiling on Debian GNU Linux



1. Install the required software
The following command will install Git, CMake, a compiler and the libraries used by The Forgotten Server.
Git will be used to download the source code, and CMake will be used to generate the build files.
# apt-get install git cmake build-essential libxml2-dev liblua5.2-dev libgmp3-dev \
libmysqlclient-dev libboost-thread-dev libboost-system-dev
2. Download the source code
$ git clone https://github.com/otland/forgottenserver.git
3. Generate the build files
$ cd forgottenserver
$ mkdir build && cd build
$ cmake ..
4. Build
$ make
 
 
só que esta dando o seguinte erro:
 
root@local:~/forgottenserver/build# cmake ..
-- MySQL Include dir: /usr/include/mysql  library dir: /usr/lib
-- MySQL client libraries: mysqlclient_r
-- REQUIRED_VARS  (missing:  VERSION_VAR LUAJIT_VERSION_STRING)
-- REQUIRED_VARS  (missing:  VERSION_VAR)
-- Configuring done
CMake Error in CMakeLists.txt:
  Cannot find source file "actions.cpp".  Tried extensions .c .C .c++ .cc
  .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
 
 
-- Build files have been written to: /root/forgottenserver/build
 
Alguém sabe como posso resolver isso?

Editado por Matheus (veja o histórico de edições)

 Whatsapp: +55 (48) 98815-0709 Discord: Qwizer#5713

 

Global 100% 7.40 com Website

TFS 1.2 10.97-11.00 + GlobalFull OtherWorld ...

 

Link para o post
Compartilhar em outros sites

Faz assim :

 

sudo apt-get install libboost-thread-dev libboost-system-dev libxml2-dev liblua5.2-dev libgmp3-dev libmysqlclient-dev

 

depois : cria pasta  mkdir build

 

depois  entra na pasta build

 

la dentro digita isso da enter ( tem os pontinhos no final : cmake -DCMAKE_BUILD_TYPE=Release ..

 

depois digita  : make

 

ai so esperar 

 

o resultado :

 

Scanning dependencies of target tfs
[  1%] Building CXX object CMakeFiles/tfs.dir/src/actions.cpp.o
[  2%] Building CXX object CMakeFiles/tfs.dir/src/admin.cpp.o
[  3%] Building CXX object CMakeFiles/tfs.dir/src/ban.cpp.o
[  5%] Building CXX object CMakeFiles/tfs.dir/src/baseevents.cpp.o
[  6%] Building CXX object CMakeFiles/tfs.dir/src/beds.cpp.o
[  7%] Building CXX object CMakeFiles/tfs.dir/src/chat.cpp.o
[  8%] Building CXX object CMakeFiles/tfs.dir/src/combat.cpp.o
[ 10%] Building CXX object CMakeFiles/tfs.dir/src/commands.cpp.o
[ 11%] Building CXX object CMakeFiles/tfs.dir/src/condition.cpp.o
[ 12%] Building CXX object CMakeFiles/tfs.dir/src/configmanager.cpp.o
[ 14%] Building CXX object CMakeFiles/tfs.dir/src/connection.cpp.o
[ 15%] Building CXX object CMakeFiles/tfs.dir/src/container.cpp.o
[ 16%] Building CXX object CMakeFiles/tfs.dir/src/creature.cpp.o
[ 17%] Building CXX object CMakeFiles/tfs.dir/src/creatureevent.cpp.o
[ 19%] Building CXX object CMakeFiles/tfs.dir/src/cylinder.cpp.o
[ 20%] Building CXX object CMakeFiles/tfs.dir/src/database.cpp.o
[ 21%] Building CXX object CMakeFiles/tfs.dir/src/databasemanager.cpp.o
[ 23%] Building CXX object CMakeFiles/tfs.dir/src/depotchest.cpp.o
[ 24%] Building CXX object CMakeFiles/tfs.dir/src/depotlocker.cpp.o
[ 25%] Building CXX object CMakeFiles/tfs.dir/src/fileloader.cpp.o
[ 26%] Building CXX object CMakeFiles/tfs.dir/src/game.cpp.o
[ 28%] Building CXX object CMakeFiles/tfs.dir/src/globalevent.cpp.o
[ 29%] Building CXX object CMakeFiles/tfs.dir/src/guild.cpp.o
[ 30%] Building CXX object CMakeFiles/tfs.dir/src/groups.cpp.o
[ 32%] Building CXX object CMakeFiles/tfs.dir/src/house.cpp.o
[ 33%] Building CXX object CMakeFiles/tfs.dir/src/housetile.cpp.o
[ 34%] Building CXX object CMakeFiles/tfs.dir/src/inbox.cpp.o
[ 35%] Building CXX object CMakeFiles/tfs.dir/src/ioguild.cpp.o
[ 37%] Building CXX object CMakeFiles/tfs.dir/src/iologindata.cpp.o
[ 38%] Building CXX object CMakeFiles/tfs.dir/src/iomap.cpp.o
[ 39%] Building CXX object CMakeFiles/tfs.dir/src/iomapserialize.cpp.o
[ 41%] Building CXX object CMakeFiles/tfs.dir/src/iomarket.cpp.o
[ 42%] Building CXX object CMakeFiles/tfs.dir/src/item.cpp.o
[ 43%] Building CXX object CMakeFiles/tfs.dir/src/items.cpp.o
[ 44%] Building CXX object CMakeFiles/tfs.dir/src/logger.cpp.o
[ 46%] Building CXX object CMakeFiles/tfs.dir/src/luascript.cpp.o
[ 47%] Building CXX object CMakeFiles/tfs.dir/src/mailbox.cpp.o
[ 48%] Building CXX object CMakeFiles/tfs.dir/src/map.cpp.o
[ 50%] Building CXX object CMakeFiles/tfs.dir/src/md5.cpp.o
[ 51%] Building CXX object CMakeFiles/tfs.dir/src/modalwindow.cpp.o
[ 52%] Building CXX object CMakeFiles/tfs.dir/src/monster.cpp.o
[ 53%] Building CXX object CMakeFiles/tfs.dir/src/monsters.cpp.o
[ 55%] Building CXX object CMakeFiles/tfs.dir/src/mounts.cpp.o
[ 56%] Building CXX object CMakeFiles/tfs.dir/src/movement.cpp.o
[ 57%] Building CXX object CMakeFiles/tfs.dir/src/networkmessage.cpp.o
[ 58%] Building CXX object CMakeFiles/tfs.dir/src/npc.cpp.o
[ 60%] Building CXX object CMakeFiles/tfs.dir/src/otpch.cpp.o
[ 61%] Building CXX object CMakeFiles/tfs.dir/src/otserv.cpp.o
[ 62%] Building CXX object CMakeFiles/tfs.dir/src/outfit.cpp.o
[ 64%] Building CXX object CMakeFiles/tfs.dir/src/outputmessage.cpp.o
[ 65%] Building CXX object CMakeFiles/tfs.dir/src/party.cpp.o
[ 66%] Building CXX object CMakeFiles/tfs.dir/src/player.cpp.o
[ 67%] Building CXX object CMakeFiles/tfs.dir/src/position.cpp.o
[ 69%] Building CXX object CMakeFiles/tfs.dir/src/protocol.cpp.o
[ 70%] Building CXX object CMakeFiles/tfs.dir/src/protocolgame.cpp.o
[ 71%] Building CXX object CMakeFiles/tfs.dir/src/protocollogin.cpp.o
[ 73%] Building CXX object CMakeFiles/tfs.dir/src/protocolold.cpp.o
[ 74%] Building CXX object CMakeFiles/tfs.dir/src/quests.cpp.o
[ 75%] Building CXX object CMakeFiles/tfs.dir/src/raids.cpp.o
[ 76%] Building CXX object CMakeFiles/tfs.dir/src/rsa.cpp.o
[ 78%] Building CXX object CMakeFiles/tfs.dir/src/scheduler.cpp.o
[ 79%] Building CXX object CMakeFiles/tfs.dir/src/scriptmanager.cpp.o
[ 80%] Building CXX object CMakeFiles/tfs.dir/src/server.cpp.o
[ 82%] Building CXX object CMakeFiles/tfs.dir/src/sha1.cpp.o
[ 83%] Building CXX object CMakeFiles/tfs.dir/src/spawn.cpp.o
[ 84%] Building CXX object CMakeFiles/tfs.dir/src/spells.cpp.o
[ 85%] Building CXX object CMakeFiles/tfs.dir/src/status.cpp.o
[ 87%] Building CXX object CMakeFiles/tfs.dir/src/talkaction.cpp.o
[ 88%] Building CXX object CMakeFiles/tfs.dir/src/tasks.cpp.o
[ 89%] Building CXX object CMakeFiles/tfs.dir/src/teleport.cpp.o
[ 91%] Building CXX object CMakeFiles/tfs.dir/src/thing.cpp.o
[ 92%] Building CXX object CMakeFiles/tfs.dir/src/tile.cpp.o
[ 93%] Building CXX object CMakeFiles/tfs.dir/src/tools.cpp.o
[ 94%] Building CXX object CMakeFiles/tfs.dir/src/trashholder.cpp.o
[ 96%] Building CXX object CMakeFiles/tfs.dir/src/vocation.cpp.o
[ 97%] Building CXX object CMakeFiles/tfs.dir/src/waitlist.cpp.o
[ 98%] Building CXX object CMakeFiles/tfs.dir/src/weapons.cpp.o
[100%] Building CXX object CMakeFiles/tfs.dir/src/wildcardtree.cpp.o
Linking CXX executable tfs
[100%] Built target tfs
The command "make" exited with 0.
Done. Your build exited with 0.
Editado por crocklinux (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

qual versão do linux usa? o meu e debian 6 e da esse problema

 Whatsapp: +55 (48) 98815-0709 Discord: Qwizer#5713

 

Global 100% 7.40 com Website

TFS 1.2 10.97-11.00 + GlobalFull OtherWorld ...

 

Link para o post
Compartilhar em outros sites

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.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo