Jump to content
Wend

OTClient Compilando OTCLient no Windows

Recommended Posts

Show gato, sempre contribuindo, reputado. Abraços.


YDmXTU2.png

 

Entenda tudo sobre VPS, DEDICADOS & HOSPEDAGENS. => Clique aqui

Global Full Download 10.9x - TFS 1.2/FERUMBRAS/KRAILOS. => Clique aqui

 

Muitos querem aquilo que você tem, 
mas vão desistir quando souberem o preço que você pagou.

 

skype-favicon.png lu.lukinha

message-16.png absolute@lnetworks.com.br

Share this post


Link to post
Share on other sites

Ótimo tutorial, se der tempo vou postar um de compilar pela visual studio ... reputado.


[OTX3 - 8.60] Projeto STYLLER 2019 (Download)

[TFS 1.3 - 10.98] Projeto ALUNIA 2017 - Styller/Yourots Custom (Download)

 

Share this post


Link to post
Share on other sites

Ótimo tutorial, bem formatado.

Só faltou algumas imagens.

 

E ao ver esse conteúdo meréce destaque.

Share this post


Link to post
Share on other sites

Show gato, sempre contribuindo, reputado. Abraços.

ooooooh gato eu? kk nada  

Obrigado Luuuki ^^

 

Ótimo tutorial, se der tempo vou postar um de compilar pela visual studio ... reputado.

Traz mesmo, queria ver como é pelo visual studio.

se der também estarei trazendo um de compilar para linux, se alguém quiser claro ^^

 

Ótimo tutorial, bem formatado.

Só faltou algumas imagens.

 

E ao ver esse conteúdo meréce destaque.

Obrigado ^^

Share this post


Link to post
Share on other sites

Ótimo tutorial, se der tempo vou postar um de compilar pela visual studio ... reputado.

na otland tem um tuto de como compilar pelo VB , porem eu nao consegui ,consegui só pelo codeblocks 

error_cmake.jpg

 

Eu tinho nesse error pq?

nao consegui ver o erro direito mas pelo que parece e por causa do mingw

Share this post


Link to post
Share on other sites

luanluciano93 Link de tutorial na Otland >> http://otland.net/threads/compiling-otclients-latest-source-with-microsoft-visual-studio-2013.204849/

 

error_cmake.jpg

 

Eu tinho nesse error pq?

como o Aberos falou não dá para ver o erro direito, pode melhora mais? 

Share this post


Link to post
Share on other sites

Aqui não deu erro algum, segui tudo ao pé da letra. OTC compilado com sucesso. Rep+


Meu Conteúdo no TK:

 

Sources 8.6x, 8.7x, 9.x

 

Naruto Sprites

 

 

Se eu lhe ajudar, você reconhecer que ajudei, mas não der Rep+, não espere por ajuda na próxima duvida.

 

aODwHkU.png

 

Share this post


Link to post
Share on other sites

@Wend, se seguir esse tutorial irá ter vários erros, vou fazer um que não tenha erros ... 

Esperando ^^

 

Aqui não deu erro algum, segui tudo ao pé da letra. OTC compilado com sucesso. Rep+

Obrigado (--

Share this post


Link to post
Share on other sites

será que alguem manja de compilar um pra mim na versão 10.59? :v

Estou sem tempo por causa de um projeto, mais o @kbelin pode te ajuda (--

Share this post


Link to post
Share on other sites

@Wend, se seguir esse tutorial irá ter vários erros, vou fazer um que não tenha erros ... 

 seria legal compilar no VB pois quando vc compila no codeblocks vc nao coonsegue compilar tfs no dev

Share this post


Link to post
Share on other sites

como o Aberos falou não dá para ver o erro direito, pode melhora mais? aqui tem error code:

 

8eMsXu.jpg

assim?

aqui o error code:

The C compiler identification is GNU 3.4.5
The CXX compiler identification is unknown
Check for working C compiler: C:/MinGW/bin/gcc.exe
Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "C:/MinGW/bin/gcc.exe" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir: C:/Users/Manuel/Documents/CMakeFiles/CMakeTmp

  

  Run Build Command:"C:/MinGW/bin/mingw32-make.exe"
  "cmTryCompileExec2280780315/fast"

  C:/MinGW/bin/mingw32-make.exe -f
  CMakeFiles\cmTryCompileExec2280780315.dir\build.make
  CMakeFiles/cmTryCompileExec2280780315.dir/build


  mingw32-make.exe[1]: Entering directory
  'C:/Users/Manuel/Documents/CMakeFiles/CMakeTmp'


  "C:\Program Files (x86)\CMake\bin\cmake.exe" -E cmake_progress_report
  C:\Users\Manuel\Documents\CMakeFiles\CMakeTmp\CMakeFiles 1


  Building C object
  CMakeFiles/cmTryCompileExec2280780315.dir/testCCompiler.c.obj


  C:\MinGW\bin\gcc.exe -o
  CMakeFiles\cmTryCompileExec2280780315.dir\testCCompiler.c.obj -c
  C:\Users\Manuel\Documents\CMakeFiles\CMakeTmp\testCCompiler.c


  Linking C executable cmTryCompileExec2280780315.exe


  "C:\Program Files (x86)\CMake\bin\cmake.exe" -E cmake_link_script
  CMakeFiles\cmTryCompileExec2280780315.dir\link.txt --verbose=1


  C:\MinGW\bin\gcc.exe
  -Wl,@CMakeFiles\cmTryCompileExec2280780315.dir\objects1.rsp -o
  cmTryCompileExec2280780315.exe
  -Wl,--out-implib,libcmTryCompileExec2280780315.dll.a
  -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32
  -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32
  -ladvapi32 


  C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/crt2.o: En la
  función `_mingw_setargv':


  
  e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/crt/init.c:111:
  referencia a `__chkstk_ms' sin definir


  
  C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):
  En la función `glob_match':


  
  e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:733:
  referencia a `__chkstk_ms' sin definir


  
  C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):
  En la función `glob_strdup':


  
  e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:85:
  referencia a `__chkstk_ms' sin definir


  
  C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):
  En la función `glob_match':


  
  e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:841:
  referencia a `__chkstk_ms' sin definir


  
  C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):
  En la función `glob_strdup':


  
  e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:85:
  referencia a `__chkstk_ms' sin definir


  
  C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:85:
  más referencias a `__chkstk_ms' sin definir a continuación


  collect2: ld returned 1 exit status


  CMakeFiles\cmTryCompileExec2280780315.dir\build.make:88: recipe for target
  'cmTryCompileExec2280780315.exe' failed


  mingw32-make.exe[1]: *** [cmTryCompileExec2280780315.exe] Error 1


  mingw32-make.exe[1]: Leaving directory
  'C:/Users/Manuel/Documents/CMakeFiles/CMakeTmp'


  Makefile:117: recipe for target 'cmTryCompileExec2280780315/fast' failed


  mingw32-make.exe: *** [cmTryCompileExec2280780315/fast] Error 2


  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


CMake Error at CMakeLists.txt:2 (project):
  The CMAKE_CXX_COMPILER:

    g++.exe

  is not a full path and was not found in the PATH.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


Configuring incomplete, errors occurred!
See also "C:/Users/Manuel/Documents/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Manuel/Documents/CMakeFiles/CMakeError.log".
Edited by shikidos (see edit history)

Share this post


Link to post
Share on other sites

 

Merece um bjo :*

 

kk ;)

 

sdds fotos, mas ótimo tutorial, gostei, irei testa-lo depois

Quando eu tive tempo irei tentar coloca umas prints

Share this post


Link to post
Share on other sites

 

8eMsXu.jpg

assim?

aqui o error code:

The C compiler identification is GNU 3.4.5
The CXX compiler identification is unknown
Check for working C compiler: C:/MinGW/bin/gcc.exe
Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "C:/MinGW/bin/gcc.exe" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir: C:/Users/Manuel/Documents/CMakeFiles/CMakeTmp

  

  Run Build Command:"C:/MinGW/bin/mingw32-make.exe"
  "cmTryCompileExec2280780315/fast"

  C:/MinGW/bin/mingw32-make.exe -f
  CMakeFiles\cmTryCompileExec2280780315.dir\build.make
  CMakeFiles/cmTryCompileExec2280780315.dir/build


  mingw32-make.exe[1]: Entering directory
  'C:/Users/Manuel/Documents/CMakeFiles/CMakeTmp'


  "C:\Program Files (x86)\CMake\bin\cmake.exe" -E cmake_progress_report
  C:\Users\Manuel\Documents\CMakeFiles\CMakeTmp\CMakeFiles 1


  Building C object
  CMakeFiles/cmTryCompileExec2280780315.dir/testCCompiler.c.obj


  C:\MinGW\bin\gcc.exe -o
  CMakeFiles\cmTryCompileExec2280780315.dir\testCCompiler.c.obj -c
  C:\Users\Manuel\Documents\CMakeFiles\CMakeTmp\testCCompiler.c


  Linking C executable cmTryCompileExec2280780315.exe


  "C:\Program Files (x86)\CMake\bin\cmake.exe" -E cmake_link_script
  CMakeFiles\cmTryCompileExec2280780315.dir\link.txt --verbose=1


  C:\MinGW\bin\gcc.exe
  -Wl,@CMakeFiles\cmTryCompileExec2280780315.dir\objects1.rsp -o
  cmTryCompileExec2280780315.exe
  -Wl,--out-implib,libcmTryCompileExec2280780315.dll.a
  -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32
  -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32
  -ladvapi32 


  C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/crt2.o: En la
  función `_mingw_setargv':


  
  e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/crt/init.c:111:
  referencia a `__chkstk_ms' sin definir


  
  C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):
  En la función `glob_match':


  
  e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:733:
  referencia a `__chkstk_ms' sin definir


  
  C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):
  En la función `glob_strdup':


  
  e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:85:
  referencia a `__chkstk_ms' sin definir


  
  C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):
  En la función `glob_match':


  
  e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:841:
  referencia a `__chkstk_ms' sin definir


  
  C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):
  En la función `glob_strdup':


  
  e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:85:
  referencia a `__chkstk_ms' sin definir


  
  C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib/libmingwex.a(glob.o):e:\p\giaw\src\pkg\mingwrt-4.0.3-1-mingw32-src\bld/../mingwrt-4.0.3-1-mingw32-src/src/libcrt/misc/glob.c:85:
  más referencias a `__chkstk_ms' sin definir a continuación


  collect2: ld returned 1 exit status


  CMakeFiles\cmTryCompileExec2280780315.dir\build.make:88: recipe for target
  'cmTryCompileExec2280780315.exe' failed


  mingw32-make.exe[1]: *** [cmTryCompileExec2280780315.exe] Error 1


  mingw32-make.exe[1]: Leaving directory
  'C:/Users/Manuel/Documents/CMakeFiles/CMakeTmp'


  Makefile:117: recipe for target 'cmTryCompileExec2280780315/fast' failed


  mingw32-make.exe: *** [cmTryCompileExec2280780315/fast] Error 2


  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


CMake Error at CMakeLists.txt:2 (project):
  The CMAKE_CXX_COMPILER:

    g++.exe

  is not a full path and was not found in the PATH.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


Configuring incomplete, errors occurred!
See also "C:/Users/Manuel/Documents/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Manuel/Documents/CMakeFiles/CMakeError.log".

esse erro ai e do MinGw , vc teve ter instaldo errado ow o path na variavel de ambiente deve ta errado

Edited by Aberos (see edit history)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


Open Tibia Server

Quer aprender a criar seu próprio servidor de Tibia? Então está no lugar certo, aqui você encontrará milhares de tutorias, scripts, códigos, mapas e utilitários para que você possa fazer o seu próprio servidor de Tibia começando do zero.

Redes Sociais

Anuncie no Tibia King

Precisa de mais visibilidade em seus projetos? Quer fazer um plano publicitário para o seu servidor? Anuncie no Tibia King e faça sua divulgação, possuímos centenas de acessos simultâneos e milhares diários, com certeza será a sua solução!

Tibia King Recomenda

DokeHost - Soluções em Hospedagem

VPS Windows
VPS Linux
Servidor VPS
×
×
  • Create New...