• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Problems with compile otc.

Laron25

New Member
Joined
Mar 28, 2010
Messages
127
Reaction score
2
Hi guys, i have a little problem with compile otclient, i do all what im need to compile client. Can u help me?

90467814967510630805.png


Errors
Code:
The C compiler identification is unknown
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 2.8/share/cmake-2.8/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/LAron/Desktop/otclient-win32-0.6.1/CMakeFiles/CMakeTmp

  

  Run Build Command:c:/MinGW/bin/mingw32-make.exe
  "cmTryCompileExec1500957040/fast"

  c:/MinGW/bin/mingw32-make.exe -f
  CMakeFiles\cmTryCompileExec1500957040.dir\build.make
  CMakeFiles/cmTryCompileExec1500957040.dir/build

  mingw32-make.exe[1]: Entering directory
  'C:/Users/LAron/Desktop/otclient-win32-0.6.1/CMakeFiles/CMakeTmp'

  "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
  C:\Users\LAron\Desktop\otclient-win32-0.6.1\CMakeFiles\CMakeTmp\CMakeFiles
  1

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

  c:\MinGW\bin\gcc.exe -o
  CMakeFiles\cmTryCompileExec1500957040.dir\testCCompiler.c.obj -c
  C:\Users\LAron\Desktop\otclient-win32-0.6.1\CMakeFiles\CMakeTmp\testCCompiler.c


  CMakeFiles\cmTryCompileExec1500957040.dir\build.make:59: recipe for target
  'CMakeFiles/cmTryCompileExec1500957040.dir/testCCompiler.c.obj' failed

  mingw32-make.exe[1]: Leaving directory
  'C:/Users/LAron/Desktop/otclient-win32-0.6.1/CMakeFiles/CMakeTmp'

  mingw32-make.exe[1]: ***
  [CMakeFiles/cmTryCompileExec1500957040.dir/testCCompiler.c.obj] Error 1

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

  Makefile:116: recipe for target 'cmTryCompileExec1500957040/fast' failed

  

  

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


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

Configuring incomplete, errors occurred!

- - - Updated - - -

~~BUMP

- - - Updated - - -

~~' BUMP '~~
 
Your errors looks pretty much weird, are you sure you got proper sources in your /desktop/otclient-win~ directory? I suggest to try doing everything once again from scratch, following the tutorial.
 
CMake does find PATH to bin folder, i don't know why ;/

02151257566025270210.png

Code:
 C:\MinGW\bin


Code:
C:\Program Files (x86)\CMake 2.8\bin;C:\MinGW\bin;C:\MinGW\lib;C:\MinGW\include
00145540930242683478.png


Thanks all for help ;)
 
Back
Top