• 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] Weird Cmake Problem when try to Compile TC Source

Status
Not open for further replies.

blackmetal

Exalted Member
I have VS Ultimate 2013,when i run Cmake to get file to Build Core, i get this error:
Code:
The C compiler identification is unknown
The CXX compiler identification is unknown
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.

Even i tried to install VS Express Desktop 2013, the problem still the same.
I can use VS Ultimate 2010 to build core before
I have VC ++ from 2008-2013 and OpenSSL with Both Version 32/64 Bit
I tried to specify native compiler : C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\cl.exe, it is still has the same error
Code:
The C compiler identification is unknown
The CXX compiler identification is unknown
Check for working C compiler using: Visual Studio 12 2013
Check for working C compiler using: Visual Studio 12 2013 -- broken
:RpS_blink::RpS_blink::RpS_blink:

One more thing i tried both in Cmake 2.8 and Cmake 3.0 :s:
 

Tommy

Founder
Which generator option are you selecting? TrinityCore team made it so you have to use VS 2013. (Unless you change it otherwise, however, that is NOT recommended.)

I recommend following 'How to CMake' tutorial. Also, if you have not done it already, update your CMake program by installing the newest one on the CMake site.
 

blackmetal

Exalted Member
Step 1:


Step 2:


Step 3:


I have done build core before with VS 2010 Ultimate :D
 

Attachments

  • cmake1.jpg
    cmake1.jpg
    16.1 KB · Views: 32
  • cmake2.jpg
    cmake2.jpg
    15.7 KB · Views: 31
  • cmake3.jpg
    cmake3.jpg
    17.3 KB · Views: 30

Tommy

Founder
You should read the tutorial thoroughly, as you aren't selecting the correct compiler generator type. Look at #4 in the 'How to CMake' tutorial. It plainly shows that you need to select Visual Studio 12, not Visual Studio 12 2013. If you don't have that option, as I said in my post above, download and install the newest CMake.
 

blackmetal

Exalted Member
As you can see, i'm using the newest version of Cmake 3.0.0. I installed Visual Studio 2013 Ultimate and in Cmake - Specify the generator for this project, i dont see Visual Studio 12, only Visual Studio 12 2013 @@

Or can you give me link download what Visual Studio you are using?
 
Last edited:
Status
Not open for further replies.
Top