• 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] [Trinity Core] Cmake wiered error!

Status
Not open for further replies.

Synth

Exalted Member
Sup,Emudevs!

Well today i add my own new core,so i clone source folder then i open cmake 2.8.12.2 for i configure my build folder i choose Visual 10 cz i am using Microsoft Visual Studio 2010 once configure done i got those errors:

CMake Error at cmake/compiler/msvc/settings.cmake:7 (message):
MSVC: TrinityCore requires version 18.0 (MSVC 2013) to build but found
16.0.30319.1
Call Stack (most recent call first):
cmake/platform/win/settings.cmake:29 (include)
cmake/macros/CheckPlatform.cmake:13 (include)
CMakeLists.txt:48 (include)
But it said first that Visual studio 2010 works,i have everything installed correctly i am using OpenSSL 1.0.1f (32 bit).

So if someone tell me what i can do for i fix this?

Thank you!
Best regards,
Synth !
 

Tommy

Founder
It shows an obvious error message:

MSVC: TrinityCore requires version 18.0 (MSVC 2013) to build but found


You should use VS 2012 or greater. The older versions are too old and no longer supported. Sometimes during CMake configuration it will go fine, but it's normally the generate that catches something.
 

wolfz

Enthusiast
Use VS 2012, i had 2010 before, nad i also got errors with cmake when i had it, but when switching over to VS 2012, everything went okay.
 

Rochet2

Moderator / Eluna Dev
hmm, why is everyone saying 2012 when 2013 is the latest and 2012 is hidden from downloads.. and when you download it and run it it says there are known problems with that version..
Also the error msg says to use 2013.
And its a requirement set by TC
 

Neth

BETA Tester
hmm, why is everyone saying 2012 when 2013 is the latest and 2012 is hidden from downloads.. and when you download it and run it it says there are known problems with that version..
Also the error msg says to use 2013.
And its a requirement set by TC

because in cmake it's VS12 so you get used to say visual studio 2012 instead if 2013
 

Synth

Exalted Member
Alright so i download microsoft visual studio 2012 and i choose Visual 2012 for i configure and once it configure i got the following errors:
Code:
CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 12".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: Could not find cmake module file: C:/Devium-WoW Core III/Build/CMakeFiles/2.8.12.2/CMakeCCompiler.cmake
CMake Error: Could not find cmake module file: C:/Devium-WoW Core III/Build/CMakeFiles/2.8.12.2/CMakeCXXCompiler.cmake
Configuring incomplete, errors occurred!
 

Tommy

Founder
hmm, why is everyone saying 2012 when 2013 is the latest and 2012 is hidden from downloads.. and when you download it and run it it says there are known problems with that version..
Also the error msg says to use 2013.
And its a requirement set by TC

You can still download VS 2012 from the Microsoft website. Also, you can torrent it too. Just because they say their latest is 2013, doesn't necessarily mean that won't support one version down. I've been using 2012, so I always suggest 2012 or greater until they no longer support 2012, which probably will be awhile.


Alright so i download microsoft visual studio 2012 and i choose Visual 2012 for i configure and once it configure i got the following errors:
Code:
CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 12".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: Could not find cmake module file: C:/Devium-WoW Core III/Build/CMakeFiles/2.8.12.2/CMakeCCompiler.cmake
CMake Error: Could not find cmake module file: C:/Devium-WoW Core III/Build/CMakeFiles/2.8.12.2/CMakeCXXCompiler.cmake
Configuring incomplete, errors occurred!

You selected the wrong generator. You need to select Visual Studio 11:

7gkrgGC.png
 

Synth

Exalted Member
You can still download VS 2012 from the Microsoft website. Also, you can torrent it too. Just because they say their latest is 2013, doesn't necessarily mean that won't support one version down. I've been using 2012, so I always suggest 2012 or greater until they no longer support 2012, which probably will be awhile.




You selected the wrong generator. You need to select Visual Studio 11:

7gkrgGC.png

Well i have selected visual studio 11 i get those errors:
Code:
CMake Error at cmake/compiler/msvc/settings.cmake:7 (message):
  MSVC: TrinityCore requires version 18.0 (MSVC 2013) to build but found
  17.0.50727.1
Call Stack (most recent call first):
  cmake/platform/win/settings.cmake:29 (include)
  cmake/macros/CheckPlatform.cmake:13 (include)
  CMakeLists.txt:48 (include)
What's the problem ?
 

PrestonParsons

BETA Tester
Well i have selected visual studio 11 i get those errors:
Code:
CMake Error at cmake/compiler/msvc/settings.cmake:7 (message):
  MSVC: TrinityCore requires version 18.0 (MSVC 2013) to build but found
  17.0.50727.1
Call Stack (most recent call first):
  cmake/platform/win/settings.cmake:29 (include)
  cmake/macros/CheckPlatform.cmake:13 (include)
  CMakeLists.txt:48 (include)
What's the problem ?

visual studio 11 - Visual Studio 2012.
Visual studio 10 - Visual Studio 2010.

What program do you use?

Also delete caches from cmake then rebuild again.
 

foxthecrash

Respected Member
Download the version of Windows desktop not the profesional If you have not Windows 8.1

Please read the info about the software before Download.


Use cmake again and select visual 2012.
 

Luke Strike

BETA Tester
Alright seems it won't work on my PC i am using Winodws 7 Ultimate any other download link ?
fhhy5p4.png

Your operating system should be minimal Win 7 servipack 1, and Internet Explorer 10.


Supported Operating Systems
Windows 8.1 (x86 and x64)
Windows 8 (x86 and x64)
Windows 7 SP1 (x86 and x64)
Windows Server 2012 R2 (x64)
Windows Server 2012 (x64)
Windows Server 2008 R2 SP1 (x64)

Other requirements:
In Windows 8.1 and Windows Server 2012 R2, KB2883200 is required (available from Windows Update)
Internet Explorer 10
To develop applications for Windows Phone:
Windows 8.1 (x64) Professional or higher
Windows Phone Emulator
A processor supporting address translation second level (SLAT)
 
Last edited:

Synth

Exalted Member
Your operating system should be minimal Win 7 servipack 1, and Internet Explorer 10.


Supported Operating Systems
Windows 8.1 (x86 and x64)
Windows 8 (x86 and x64)
Windows 7 SP1 (x86 and x64)
Windows Server 2012 R2 (x64)
Windows Server 2012 (x64)
Windows Server 2008 R2 SP1 (x64)

Other requirements:
In Windows 8.1 and Windows Server 2012 R2, KB2883200 is required (available from Windows Update)
Internet Explorer 10
To develop applications for Windows Phone:
Windows 8.1 (x64) Professional or higher
Windows Phone Emulator
A processor supporting address translation second level (SLAT)
Well i am wiered which download link i choose for i download Windows 7 SP1:
PMZCOfQ.png
 
Last edited:

Luke Strike

BETA Tester
Well i am wiered which download link i choose for i download Windows 7 SP1:
PMZCOfQ.png


http://windows.microsoft.com/en-us/windows7/install-windows-7-service-pack-1


If your computer is set to automatically install updates, you'll be prompted by Windows Update to install SP1. Follow the instructions on the screen. If you aren't prompted to install SP1, follow these steps:

Make sure your computer is connected to the Internet.

Click the Start button The Start button, click All Programs, and then click Windows Update.
In the left pane, click Check for updates.

If any important updates are found, click the link to view available updates. In the list of updates, select Service Pack for Microsoft Windows (KB976932), and then click OK.

Click Install updates. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

Follow the instructions on your screen.

After the installation is complete, log on to your computer at the Windows logon prompt. You might see a notification indicating whether the update was successful.

If you disabled your antivirus software, enable it again.
 

Tommy

Founder

Synth

Exalted Member
Just download the iso..

1. Go to http://www.visualstudio.com/downloads/download-visual-studio-vs
2. Sign in
3. Click Visual Studio Express 2013 for Windows Desktop
4. Select "DVD5 ISO image (SHA-1: E61419E51F42254EE07DECF628B85C9861286250)" on the bottom.
5. Download it
6. Extract and install

For further reference go to the FAQ:

Cmake issue(s): http://emudevs.com/faq.php?faq=trinitycorefaq#faq_tc_cmake_error
VS 2013 install issue: http://emudevs.com/faq.php?faq=generalfaq#faq_vs2013error
Which download i use the first one right ?
cN11Iwj.png
 
Status
Not open for further replies.
Top