Forums WoW Modding Discussion Miscellaneous [Archive] CMake BOOST_ROOT error

[Archive] CMake BOOST_ROOT error

[Archive] CMake BOOST_ROOT error

rektbyfaith
Administrator
0
11-04-2025, 05:18 PM
#1
Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

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 ?
rektbyfaith
11-04-2025, 05:18 PM #1

Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

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 ?

rektbyfaith
Administrator
0
11-04-2025, 05:18 PM
#2
Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

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!:

Boost
Download the prebuilt Windows Binary matching your platform
Recommended for 64bit: http://sourceforge.net/projects/boo...build2/boost_1_55_0-msvc-12.0-64.exe/download
Recommended for 32bit: http://sourceforge.net/projects/boo...build2/boost_1_55_0-msvc-12.0-32.exe/download

Install the package to the default location.
Add an environment variable to "system" variables named "BOOST_ROOT" pointing to your Boost installation directory, e.g "C:\local\boost_1_55_0".

[Image: boost_envs.PNG?version=1&modificationDat...000&api=v2]

Restart Cmake if it was already running
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").
rektbyfaith
11-04-2025, 05:18 PM #2

Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

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!:

Boost
Download the prebuilt Windows Binary matching your platform
Recommended for 64bit: http://sourceforge.net/projects/boo...build2/boost_1_55_0-msvc-12.0-64.exe/download
Recommended for 32bit: http://sourceforge.net/projects/boo...build2/boost_1_55_0-msvc-12.0-32.exe/download

Install the package to the default location.
Add an environment variable to "system" variables named "BOOST_ROOT" pointing to your Boost installation directory, e.g "C:\local\boost_1_55_0".

[Image: boost_envs.PNG?version=1&modificationDat...000&api=v2]

Restart Cmake if it was already running
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").

rektbyfaith
Administrator
0
11-04-2025, 05:18 PM
#3
Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

1- Download BOOST v 1.56 from this link : http://collab.kpsn.org/display/tc/Trinit...ts-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
rektbyfaith
11-04-2025, 05:18 PM #3

Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

1- Download BOOST v 1.56 from this link : http://collab.kpsn.org/display/tc/Trinit...ts-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

rektbyfaith
Administrator
0
11-04-2025, 05:18 PM
#4
Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

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)

"
rektbyfaith
11-04-2025, 05:18 PM #4

Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

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)

"

rektbyfaith
Administrator
0
11-04-2025, 05:18 PM
#5
Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

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
rektbyfaith
11-04-2025, 05:18 PM #5

Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

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

rektbyfaith
Administrator
0
11-04-2025, 05:18 PM
#6
Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

You can also Check the box in red WITHOUT GIT and it's done.
rektbyfaith
11-04-2025, 05:18 PM #6

Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

You can also Check the box in red WITHOUT GIT and it's done.

rektbyfaith
Administrator
0
11-04-2025, 05:18 PM
#7
Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

Quote:ExO said:

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!:

Boost
Download the prebuilt Windows Binary matching your platform
Recommended for 64bit: http://sourceforge.net/projects/boo...build2/boost_1_55_0-msvc-12.0-64.exe/download
Recommended for 32bit: http://sourceforge.net/projects/boo...build2/boost_1_55_0-msvc-12.0-32.exe/download

Install the package to the default location.
Add an environment variable to "system" variables named "BOOST_ROOT" pointing to your Boost installation directory, e.g "C:\local\boost_1_55_0".

[Image: boost_envs.PNG?version=1&modificationDat...000&api=v2]

Restart Cmake if it was already running
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").

Click to expand...
Děkuji moc to pomohlo
rektbyfaith
11-04-2025, 05:18 PM #7

Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

Quote:ExO said:

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!:

Boost
Download the prebuilt Windows Binary matching your platform
Recommended for 64bit: http://sourceforge.net/projects/boo...build2/boost_1_55_0-msvc-12.0-64.exe/download
Recommended for 32bit: http://sourceforge.net/projects/boo...build2/boost_1_55_0-msvc-12.0-32.exe/download

Install the package to the default location.
Add an environment variable to "system" variables named "BOOST_ROOT" pointing to your Boost installation directory, e.g "C:\local\boost_1_55_0".

[Image: boost_envs.PNG?version=1&modificationDat...000&api=v2]

Restart Cmake if it was already running
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").

Click to expand...
Děkuji moc to pomohlo

rektbyfaith
Administrator
0
11-04-2025, 05:18 PM
#8
Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

Still errors?
rektbyfaith
11-04-2025, 05:18 PM #8

Archived author: Bogi • Posted: 2025-11-04T18:18:22.432604
Original source

Still errors?

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)