• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] CMake compile problem!

Status
Not open for further replies.

Regolan

Emulation Addict
Hello!

After I click on "Configure" in CMake, it writes this error message to the CMake:

Code:
The C compiler identification is MSVC 18.0.40629.0
The CXX compiler identification is MSVC 18.0.40629.0
CMake Error at CMakeLists.txt:12 (project):
  No CMAKE_C_COMPILER could be found.



CMake Error at CMakeLists.txt:12 (project):
  No CMAKE_CXX_COMPILER could be found.



Configuring incomplete, errors occurred!
See also "D:/WoW_szerver/Szerver/Build/CMakeFiles/CMakeOutput.log".

What's the problem? How can I solve it?

I have installed:
- Microsoft Visual Studio Professional 2013 with Update 5 (12.0.40629)
- Microsoft Visual C++ Redistributable 2008, 2010, 2012, 2013 (all x64)
- Microsoft .NET Framework 4.5, 4.5.1
- CMake 3.3.0
- OpenSSL 1.0.2d (64-bit)
- Git version 2.5.1
- Boost 1.58.0
- MySQL Server 5.6
- ZeroMQ 4.0.4

Sorry for my bad English!

Thank you!
 

Hyperion

Founder
Hello!

After I click on "Configure" in CMake, it writes this error message to the CMake:

Code:
The C compiler identification is MSVC 18.0.40629.0
The CXX compiler identification is MSVC 18.0.40629.0
CMake Error at CMakeLists.txt:12 (project):
  No CMAKE_C_COMPILER could be found.



CMake Error at CMakeLists.txt:12 (project):
  No CMAKE_CXX_COMPILER could be found.



Configuring incomplete, errors occurred!
See also "D:/WoW_szerver/Szerver/Build/CMakeFiles/CMakeOutput.log".

What's the problem? How can I solve it?

I have installed:
- Microsoft Visual Studio Professional 2013 with Update 5 (12.0.40629)
- Microsoft Visual C++ Redistributable 2008, 2010, 2012, 2013 (all x64)
- Microsoft .NET Framework 4.5, 4.5.1
- CMake 3.3.0
- OpenSSL 1.0.2d (64-bit)
- Git version 2.5.1
- Boost 1.58.0
- MySQL Server 5.6
- ZeroMQ 4.0.4

Sorry for my bad English!

Thank you!

Which compiler did you select before configuration?
 

Unknown96

Exalted Member
What version are you trying to compile? because ZeroMQ is only required to have for 6.x.x if I remember it correctly, also something that might help you with your configure error is that you might want to try to reinstall your Microsoft Visual Studio 2013 since that is what works great for me. Also make sure you use the version suitable for your system type (32bit/64bit)
 
Last edited:

Tommy

Founder
Well, the error is obvious: It cannot find your selected compiler. Most likely because you're selecting the wrong generator.

Select: Visual Studio 12 2013

Or are you trying to compile in 64-bit?
 

yvoms

Exalted Member
MSVC 18.0.40629.0 is what he selected as you can see from the output,
it equals MSVC 18.0.40629.0, however tommy is right, are you trying to compile on 32 or 64 bit?
And the software you have downloaded, did you get the appropriate versions?
 

Hyperion

Founder
MSVC 18.0.40629.0 is what he selected as you can see from the output,
it equals MSVC 18.0.40629.0, however tommy is right, are you trying to compile on 32 or 64 bit?
And the software you have downloaded, did you get the appropriate versions?

... MSVC 18.0.40629.0 is the obvious output yes, but that version doesn't coincide with the compiler version, it
is the same for both 2012 and 2013, hence the very first question "Which compiler did he use".

He did it right, he's just not supposed to be cmaking in 64bit. If he wants it in 64bit he has to compile it as such in the source.
 

yvoms

Exalted Member
... MSVC 18.0.40629.0 is the obvious output yes, but that version doesn't coincide with the compiler version, it
is the same for both 2012 and 2013, hence the very first question "Which compiler did he use".

He did it right, he's just not supposed to be cmaking in 64bit. If he wants it in 64bit he has to compile it as such in the source.

Thats what i meant, i just couldn't find the words to explain it.
Seems he managed to successfully compile it.
 

Regolan

Emulation Addict
Problem solved!

I used Microsoft Visual Studio Professional 2013 with Update 5, but this wasn't good, so I tried Update 4 and this was good.

Thank you for the answers! :)
 
Status
Not open for further replies.
Top