Wise
29-11-14, 10:01 PM
Since there's been a few issues going around, I'm here to clarify them up.
#1: Programs Needed
CMake (http://www.cmake.org/cmake/resources/software.html)
OpenSSL 32 Bit (http://slproweb.com/download/Win32OpenSSL-1_0_1f.exe)
GIT Download (http://git-scm.com/downloads)
#1.1: Getting ERRORS:
If you're getting an OpenSSL error, you need to install OpenSSL 32Bit. The link is above. If you're getting "GIT not found" error, you need to install Git - the link is above. If you're still getting that error, follow this
1. You can do that check the Box.
2. You could reinstall the correct way ( so you don't have to check the WITHOUT_GIT box all the time). I do have a general tutorial on how to do that
https://www.youtube.com/watch?v=_pOZUqGanSo
. (Just pointing that out)
3. It is just a path issue, so just add it to your variable path:
1. Right click on Computer.
2. Click Advanced System Settings
3. Click Environment Variables inside the Advanced Menu
4. Under System Variables, scroll to PATH
5. Add ;"C:\path\to\git\bin";"C:\path\to\git\cmd"
#2: Recommended Visual Studio
VS 2013
#3: Specifying your paths
"Where is the source code"
Source code path should be linked to your TrinityCore/ source folder. Do not link it to your TrinityCore/cmake folder as it does not contain a CMakeLists.txt. Here's images to help you:
http://img542.imageshack.us/img542/6697/h0u8.png
http://i.imgur.com/pZNMZ9K.png
"Where to build the binaries"
This folder can be anywhere. I normally link it in the same directory my TrinityCore folder is in. If the folder doesn't exist, it will make one for you. I'm going to link the build folder in the same folder my TrinityCore directory is:
"C:/Users/Tommy/Desktop/335/build"
NOTE: Once you select the build path, you cannot move this folder because everything will be linked to it. If you want to move the folder you'll have to do File -> Delete Cache, delete the 'build' folder and choose a new directory for it.
#4: Selecting your Configurate options
I use Visual Studio 2013, so the compiler option is Visual Studio 12.
Visual Studio 12 - VS 2013
For the bubble option, choose "Use default native compilers" and click 'Finish'.
Image:
http://i.imgur.com/jOqivQM.png
Since I use Visual Studio 2013, I will select Visual Studio 12 option.
If you do NOT see the Visual Studio 12 option, choose VS 12 2013 option instead:
http://i.imgur.com/mcEQkKf.png
After that, it will start configuring. Once it stops configurating, you should see different options. I don't recommend selecting the other options, only 'Tools' option if you need tools.
http://i.imgur.com/AiRZmaz.png
Once you're happy with what you see, click 'Generate'.
Credits Tommy.
#1: Programs Needed
CMake (http://www.cmake.org/cmake/resources/software.html)
OpenSSL 32 Bit (http://slproweb.com/download/Win32OpenSSL-1_0_1f.exe)
GIT Download (http://git-scm.com/downloads)
#1.1: Getting ERRORS:
If you're getting an OpenSSL error, you need to install OpenSSL 32Bit. The link is above. If you're getting "GIT not found" error, you need to install Git - the link is above. If you're still getting that error, follow this
1. You can do that check the Box.
2. You could reinstall the correct way ( so you don't have to check the WITHOUT_GIT box all the time). I do have a general tutorial on how to do that
https://www.youtube.com/watch?v=_pOZUqGanSo
. (Just pointing that out)
3. It is just a path issue, so just add it to your variable path:
1. Right click on Computer.
2. Click Advanced System Settings
3. Click Environment Variables inside the Advanced Menu
4. Under System Variables, scroll to PATH
5. Add ;"C:\path\to\git\bin";"C:\path\to\git\cmd"
#2: Recommended Visual Studio
VS 2013
#3: Specifying your paths
"Where is the source code"
Source code path should be linked to your TrinityCore/ source folder. Do not link it to your TrinityCore/cmake folder as it does not contain a CMakeLists.txt. Here's images to help you:
http://img542.imageshack.us/img542/6697/h0u8.png
http://i.imgur.com/pZNMZ9K.png
"Where to build the binaries"
This folder can be anywhere. I normally link it in the same directory my TrinityCore folder is in. If the folder doesn't exist, it will make one for you. I'm going to link the build folder in the same folder my TrinityCore directory is:
"C:/Users/Tommy/Desktop/335/build"
NOTE: Once you select the build path, you cannot move this folder because everything will be linked to it. If you want to move the folder you'll have to do File -> Delete Cache, delete the 'build' folder and choose a new directory for it.
#4: Selecting your Configurate options
I use Visual Studio 2013, so the compiler option is Visual Studio 12.
Visual Studio 12 - VS 2013
For the bubble option, choose "Use default native compilers" and click 'Finish'.
Image:
http://i.imgur.com/jOqivQM.png
Since I use Visual Studio 2013, I will select Visual Studio 12 option.
If you do NOT see the Visual Studio 12 option, choose VS 12 2013 option instead:
http://i.imgur.com/mcEQkKf.png
After that, it will start configuring. Once it stops configurating, you should see different options. I don't recommend selecting the other options, only 'Tools' option if you need tools.
http://i.imgur.com/AiRZmaz.png
Once you're happy with what you see, click 'Generate'.
Credits Tommy.