• 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] Problem with CMake and Visual Studio

Status
Not open for further replies.

fonigou

Enthusiast
Hey guys,
I have a problem with my CMake when I try to configure and generate my TrinityCore server.
It sends me this error message: 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)


Configuring incomplete, errors occurred!


Just to let you know guys that I'm new to this stuff and I know nothing about developping, compiling etc.
All I did now is following the instructions of this video: https://www.youtube.com/watch?v=DTuWE8fQ98I&src_vid=5lk5w_rFZFA&feature=iv&annotation_id=annotation_2321775427
I've also downloaded Visual Studio Ultimate 2012 via piratebay because I wasn't able to download the 2013 express version
from the official site. Even tho I have downloaded VS 2012 I can't see it as an option on CMake when I configure,
All I see is Visual Studio 11 2012, Visual Studio 11 2012 ARM and Visual Studio 11 2012 Win 64 and those were already avaible
before I downloaded VS 12.
What should I do to fix my two problems ?​
 

fonigou

Enthusiast
I followed the steps of the other thread you sent me but it still doesn't work. I downloaded VS 2013 and i still have this error message :
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
cmake/macros/FindOpenSSL.cmake:176 (find_package_handle_standard_args)
CMakeLists.txt:56 (find_package)


Configuring incomplete, errors occurred!
 

Rochet2

Moderator / Eluna Dev
I followed the steps of the other thread you sent me but it still doesn't work. I downloaded VS 2013 and i still have this error message :
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
cmake/macros/FindOpenSSL.cmake:176 (find_package_handle_standard_args)
CMakeLists.txt:56 (find_package)


Configuring incomplete, errors occurred!

missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR
Do you have openssl installed?
If you are compiling 32bit, you need 32bit openssl.
 

fonigou

Enthusiast
Sorry but I'm facing another problem : CMake Error at cmake/macros/FindGit.cmake:24 (message):


Git was NOT FOUND on your system - did you forget to install a recent version, or setting the path to it?
Observe that for revision hash/date to work you need at least version 1.7
Call Stack (most recent call first):
CMakeLists.txt:70 (find_package)


Configuring incomplete, errors occurred!
 

Rochet2

Moderator / Eluna Dev
Sorry but I'm facing another problem : CMake Error at cmake/macros/FindGit.cmake:24 (message):


Git was NOT FOUND on your system - did you forget to install a recent version, or setting the path to it?
Observe that for revision hash/date to work you need at least version 1.7
Call Stack (most recent call first):
CMakeLists.txt:70 (find_package)


Configuring incomplete, errors occurred!

Make sure you have the extensions:
https://code.google.com/p/gitextensions/

Re install git with these settings:
http://prntscr.com/3px70m
http://git-scm.com/


Why not take a while and read the guide? :3
http://collab.kpsn.org/display/tc/How-to_Win
 

Tommy

Founder
Sorry but I'm facing another problem : CMake Error at cmake/macros/FindGit.cmake:24 (message):


Git was NOT FOUND on your system - did you forget to install a recent version, or setting the path to it?
Observe that for revision hash/date to work you need at least version 1.7
Call Stack (most recent call first):
CMakeLists.txt:70 (find_package)


Configuring incomplete, errors occurred!

If you don't have Git, I would suggest installing it and looking at my post: http://emudevs.com/showthread.php/2680-Git-not-found-on-system?p=18885&viewfull=1#post18885
If you have Git and you're getting this error, you just need to set the correct PATHS. My post explains that here.

Future advice: Look at the tutorial section. It has what you need: http://emudevs.com/showthread.php/2499-How-to-CMake
 

fonigou

Enthusiast
Yeah I think that I might need to read the guide... Thanks for your help and your quick answers !

- - - Updated - - -

I actually already have git and git extensions i think i messed up something when i downloaded it
 
Status
Not open for further replies.
Top