Ir para conteúdo
  • Cadastre-se

(Resolvido)COMO COMPILAR OTX OU TFS NO UBUNTU 16.04


Ir para solução Resolvido por Marco Oliveira,

Posts Recomendados

Este tópico foi movido para a área correta. Esta é uma mensagem automática!
Pedimos que leia as regras do fórum!

Spoiler

This topic has been moved to the correct area. This is an automated message!
Please read the forum rules.

 

Compre seus Scripts Agora totalmente seguro e de forma rápida, aceitamos também encomendas.

discord.gg/phJZeHa2k4

 

Projeto ATS (Naruto)

Informações Abaixo

Facebook

Youtube
Discord

 

Tutoriais / Conteúdos

Clique Aqui

Link para o post
Compartilhar em outros sites

Libs:

sudo apt-get install git cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libpugixml-dev libcrypto++-dev

 

Download TFS:

git clone --recursive https://github.com/otland/forgottenserver.git

 

Compilando TFS:

cd forgottenserver
mkdir build && cd build
cmake ..
make

 

Movendo TFS e executando:

mv tfs ..
./tfs

 

Link para o post
Compartilhar em outros sites
59 minutos atrás, Marco Oliveira disse:

Libs:


sudo apt-get install git cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libpugixml-dev libcrypto++-dev

 

Download TFS:


git clone --recursive https://github.com/otland/forgottenserver.git

 

Compilando TFS:


cd forgottenserver
mkdir build && cd build
cmake ..
make

 

Movendo TFS e executando:


mv tfs ..
./tfs

 

 

Obrigado meu nobre. 

 

Irei testar aqui.

Link para o post
Compartilhar em outros sites
Em 19/02/2019 em 14:24, Marco Oliveira disse:

Libs:


sudo apt-get install git cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libpugixml-dev libcrypto++-dev

 

Download TFS:


git clone --recursive https://github.com/otland/forgottenserver.git

 

Compilando TFS:


cd forgottenserver
mkdir build && cd build
cmake ..
make

 

Movendo TFS e executando:


mv tfs ..
./tfs

 

 

Estou com uma duvida referente o Gesior....

Consegui fazer a compilacao, pois possuo um OT Global 8.6, que adquiri em 2016 + Gesior..... Acontece que estou com o Ubuntu 16.04 ( pelo fato de que a empresa de vps nao trabalha com versoes anteriores), depois de muitos anos, voltando ao mundo de OT ADMIN, isto aqui esta me dificultando....

Poderia me ajudar com isso ? 

Link para o post
Compartilhar em outros sites
  • Solução
18 minutos atrás, romaidana disse:

Estou com uma duvida referente o Gesior....

Consegui fazer a compilacao, pois possuo um OT Global 8.6, que adquiri em 2016 + Gesior..... Acontece que estou com o Ubuntu 16.04 ( pelo fato de que a empresa de vps nao trabalha com versoes anteriores), depois de muitos anos, voltando ao mundo de OT ADMIN, isto aqui esta me dificultando....

Poderia me ajudar com isso ? 

 

 

Faça um tópico e me envie o link!

Link para o post
Compartilhar em outros sites
  • 1 year later...

ai deu esse erro na hora do make!!

 

 

root@mythserver:/home/mythserver/forgottenserver# cmake ..
CMake Error: The source directory "/home/mythserver/forgottenserver/.." does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
root@mythserver:/home/mythserver/forgottenserver# ^C
root@mythserver:/home/mythserver/forgottenserver# ^C
root@mythserver:/home/mythserver/forgottenserver# ^C
root@mythserver:/home/mythserver/forgottenserver# ^C
root@mythserver:/home/mythserver/forgottenserver# ^C
root@mythserver:/home/mythserver/forgottenserver# ^C
root@mythserver:/home/mythserver/forgottenserver# ^C
root@mythserver:/home/mythserver/forgottenserver# ^C
root@mythserver:/home/mythserver/forgottenserver# ^C
root@mythserver:/home/mythserver/forgottenserver# cd ..
root@mythserver:/home/mythserver# apt-get install git cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libpugixml-dev libcrypto++-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
libboost-system-dev is already the newest version (1.65.1.0ubuntu1).
libgmp3-dev is already the newest version (2:6.1.2+dfsg-2).
liblua5.2-dev is already the newest version (5.2.4-1.1build1).
libboost-iostreams-dev is already the newest version (1.65.1.0ubuntu1).
libcrypto++-dev is already the newest version (5.6.4-8).
libpugixml-dev is already the newest version (1.8.1-7).
cmake is already the newest version (3.10.2-1ubuntu2.18.04.1).
git is already the newest version (1:2.17.1-1ubuntu0.5).
libmysqlclient-dev is already the newest version (5.7.29-0ubuntu0.18.04.1).
The following packages were automatically installed and are no longer required:
  grub-pc-bin linux-headers-4.15.0-88
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@mythserver:/home/mythserver# git clone --recursive https://github.com/otland/forgottenserver.git
fatal: destination path 'forgottenserver' already exists and is not an empty directory.
root@mythserver:/home/mythserver# cd forgottenserver
root@mythserver:/home/mythserver/forgottenserver# mkdir build
root@mythserver:/home/mythserver/forgottenserver# cd build
root@mythserver:/home/mythserver/forgottenserver/build# cmake ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- cotire 1.7.6 loaded.
-- Performing Test COMPILER_KNOWS_CXX11
-- Performing Test COMPILER_KNOWS_CXX11 - Success
-- Performing Test COMPILER_KNOWS_STDLIB
-- Performing Test COMPILER_KNOWS_STDLIB - Failed
-- Performing Test COMPILER_KNOWS_LTO
-- Performing Test COMPILER_KNOWS_LTO - Success
-- Found Crypto++: /usr/include
-- Found PugiXML: /usr/include
-- MySQL Include dir: /usr/include/mysql  library dir: /usr/lib/x86_64-linux-gnu
-- MySQL client libraries: /usr/lib/x86_64-linux-gnu/libmysqlclient.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Could NOT find LuaJIT (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)
-- Found Lua: /usr/lib/x86_64-linux-gnu/liblua5.2.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "")
CMake Error at /usr/share/cmake-3.10/Modules/FindBoost.cmake:1947 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.65.1

  Boost include path: /usr/include

  Could not find the following Boost libraries:

          boost_filesystem

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Call Stack (most recent call first):
  CMakeLists.txt:46 (find_package)


-- CXX target tfs cotired without unity build.
-- Configuring incomplete, errors occurred!
See also "/home/mythserver/forgottenserver/build/CMakeFiles/CMakeOutput.log".
See also "/home/mythserver/forgottenserver/build/CMakeFiles/CMakeError.log".
root@mythserver:/home/mythserver/forgottenserver/build# make
make: *** No targets specified and no makefile found.  Stop.
 

 

Editado por robson pablo dos san (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
  • 2 weeks later...
  • 7 months later...

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.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo