Ir para conteúdo

Compilando Ot Client


BananaFight

Posts Recomendados

Mesma coisa:

CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.4/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/lucas/Desktop/OtClient/CMakeFiles/CMakeTmp

  

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

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


  mingw32-make.exe[1]: Entering directory
  'C:/Users/lucas/Desktop/OtClient/CMakeFiles/CMakeTmp'


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


  C:\MinGW\bin\gcc.exe -o CMakeFiles\cmTC_73361.dir\testCCompiler.c.obj -c
  C:\Users\lucas\Desktop\OtClient\CMakeFiles\CMakeTmp\testCCompiler.c


  Linking C executable cmTC_73361.exe


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


  Error opening link script "CMakeFiles\cmTC_73361.dir\link.txt"


  CMakeFiles\cmTC_73361.dir\build.make:98: recipe for target 'cmTC_73361.exe'
  failed


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


  mingw32-make.exe[1]: Leaving directory
  'C:/Users/lucas/Desktop/OtClient/CMakeFiles/CMakeTmp'


  Makefile:125: recipe for target 'cmTC_73361/fast' failed


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


  

  

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

Deu uns trem vermelho aqui tb:

 

Name / Value

CMAKE_BUILD_TYPE / EM BRANCO

CMAKE_CODEBLOCKS_EXECUTABLE / NOTFOUND

CMAKE_INSTALL_PREFIX / C:/Programs File(x86)/otclient

Link para o comentário
Compartilhar em outros sites

Meu otclient que você fala são as sources do otclient ne?

não, eles estão no caminho que eu defini: C:/otclient-master e será gerado em C:/Users/lucas/Desktop/OtClient

Link para o comentário
Compartilhar em outros sites

entao tem q alterar no cmake tem umm campo la que eu nao lembro agora o nome q vc altera o caminho ae vc coloca C:/otclient-master no lugar C:/Programs File(x86)/otclient

Link para o comentário
Compartilhar em outros sites

  • 2 years later...
×
×
  • Criar Novo...