• 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!

compilation error codeblock

chupaescadatri

Banned User
Joined
Jul 5, 2014
Messages
338
Reaction score
49
ScreenShotft001.jpg

Unfortunately after trying to compile in almost all versions of visual studio and give error, I gave up and went to Cmake - mingw, I got to the final part of CODEBLOCKS, but it gives this error ..
Anybody know...?
+rep
 
i added every commit but im having errors with missing dlls

error configuring cmake 3.91
gcc.exe is broken
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-3.9/Modules/CMakeTestCCompiler.cmake:51 (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:/OTClient/compiled/CMakeFiles/CMakeTmp

 

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

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


  mingw32-make.exe[1]: Entering directory
  'C:/OTClient/compiled/CMakeFiles/CMakeTmp'


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


  C:\MinGW\bin\gcc.exe -o CMakeFiles\cmTC_4e09b.dir\testCCompiler.c.obj -c
  C:\OTClient\compiled\CMakeFiles\CMakeTmp\testCCompiler.c


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


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


  mingw32-make.exe[1]: Leaving directory
  'C:/OTClient/compiled/CMakeFiles/CMakeTmp'


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


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


 

 

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


Configuring incomplete, errors occurred!
See also "C:/OTClient/compiled/CMakeFiles/CMakeOutput.log".
See also "C:/OTClient/compiled/CMakeFiles/CMakeError.log".
 
Check for working C compiler: C:/MinGW/bin/gcc.exe -- broken

Try to see if there is a program in C:/MinGW/bin called "gcc.exe" (the compiler CMake is trying to use to compile OTC).
If there is a file, open a cmd window, go to the folder and type "gcc.exe". If it is installed properly you'll want to see this message:
gcc: fatal error: no input files
compilation terminated.

Furthermore, if you type in "gcc -v" you will be provided with a lot more information such as gcc version and configuration.

If you can't complete one of these steps it's very likely you don't have the compiler installed properly.
 
i did it all
the truble its when i set gccvia cmd itisn't being recognized
i triedggc.exe via cmd uninstalling and installing it
could you help me ?
@_ferrari_

thank sfor your reply mate
 
i did it all
the truble its when i set gccvia cmd itisn't being recognized
i triedggc.exe via cmd uninstalling and installing it
could you help me ?
@_ferrari_

thank sfor your reply mate
If you can't run gcc.exe neither can CMake so you can't compile. Install gcc on your windows machine.
 
fuck this is wrong developers should enable a compilation tuto with msvc2015 simce everyones uses it and its more simply gugu15 helped me but i lost the configuraations and im not a programmer so im stuck
 
Back
Top