What's new

CMake BOOST_ROOT error

Bogi

Verified Member
29
2014
0
I finally got my openSSL and Visual Studio to work, and now I am getting an CMake error message:

"CMake Error at cmake/macros/ConfigureBoost.cmake:17 (message):
No BOOST_ROOT environment variable could be found! Please make sure it is
set and the points to your Boost installation.
Call Stack (most recent call first):
CMakeLists.txt:60 (include)"

Can anyone help me fix this ?
 

ExO

Admin
5,119
2014
1,639
Hello Bogi,

This is because TrinityCore now requires "Boost" and you may not have the program in this case?

You can also read more about BOOST on their homepage, I'll in this case copy the important parts from it - if this isn't enough to solve your problems / you still struggle with this let me know and I will assist you further!:


  1. Boost
    1. Download the prebuilt Windows Binary matching your platform
      1. Recommended for 64bit: http://sourceforge.net/projects/boo...build2/boost_1_55_0-msvc-12.0-64.exe/download
      2. Recommended for 32bit: http://sourceforge.net/projects/boo...build2/boost_1_55_0-msvc-12.0-32.exe/download
    2. Install the package to the default location.
    3. Add an environment variable to "system" variables named "BOOST_ROOT" pointing to your Boost installation directory, e.g "C:\local\boost_1_55_0".
      boost_envs.PNG
    4. Restart Cmake if it was already running
    5. Note: If CMake errors about Boost, install both Boost 32 and 64 bits version to the same directory (e.g "C:\local\boost_1_55_0").
 

JadaDev

Veteran Member
91
2014
12
Location
Tunisia
1- Download BOOST v 1.56 from this link : http://collab.kpsn.org/display/tc/TrinityCore+Requirements#TrinityCoreRequirements-Windows find 7-
2- Follow the steps on how to add BOOST_ROOT or follow this steps maybe more easy :
you should download BOOST than open Control Panel ==> System and Security ==> System than on the Left side you'll find Advanced System Settings click on it than open Environment Variables.. Now Click new on the system variables & type this
Variable Name : BOOST_ROOT
Variable Value : C:\boost_1_56_0

C:\boost_1_56_0 as exp, you should put your boost directory ! than save it
good luck
 

Bogi

Verified Member
29
2014
0
Boost fixed. Now I have another error:

"CMake Error at cmake/macros/FindMySQL.cmake:193 (message):
Could not find the MySQL libraries! Please install the development
libraries and headers
Call Stack (most recent call first):
CMakeLists.txt:61 (find_package)"

Could you help me solve this one as well?

EDIT:

I fixed the SQL error, and now another one comes:

"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)
"
 
Last edited:

ExO

Admin
5,119
2014
1,639
The git error is caused as it cannot find GIT on your system (obviously) -- Make srue you have one of the newest version and of course that you have the program.

On top of this, make sure you installed it correct:
And took one of these two options when you installed it:
http://gyazo.com/f1ea5cdefcd51e380f06e804d9083569
 

Iperit

Verified Member
5
2014
0
Hello Bogi,

This is because TrinityCore now requires "Boost" and you may not have the program in this case?

You can also read more about BOOST on their homepage, I'll in this case copy the important parts from it - if this isn't enough to solve your problems / you still struggle with this let me know and I will assist you further!:


  1. Boost
    1. Download the prebuilt Windows Binary matching your platform
      1. Recommended for 64bit: http://sourceforge.net/projects/boo...build2/boost_1_55_0-msvc-12.0-64.exe/download
      2. Recommended for 32bit: http://sourceforge.net/projects/boo...build2/boost_1_55_0-msvc-12.0-32.exe/download
    2. Install the package to the default location.
    3. Add an environment variable to "system" variables named "BOOST_ROOT" pointing to your Boost installation directory, e.g "C:\local\boost_1_55_0".
      boost_envs.PNG
    4. Restart Cmake if it was already running
    5. Note: If CMake errors about Boost, install both Boost 32 and 64 bits version to the same directory (e.g "C:\local\boost_1_55_0").

Děkuji moc to pomohlo
 
Top