• 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] Cmake Error

Status
Not open for further replies.

albag

Respected Member
Hello i get this wierd kinda Error

Found OpenSSL headers: C:/OpenSSL-Win32/include
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)
 

Tommy

Founder
First off, make sure you have boost installed. Afterwards, you need to set the BOOST_ROOT path in your system variable via environment variables. Here's how to setup the variable:

Computer -> System Properties -> Advanced System Settings -> Environment Variables -> New System Variable -> Variable Name: BOOST_ROOT, Variable value: Your/Boost/Path.

The above is for Win7 and if Win8 is the same, it will go for that version too. For others, you can search on how to access and edit the Environment Variables. After you setup the variable, if you have CMake running when you added the new system variable restart CMake so it can load the new data. You do not need to restart your PC.
 

Tommy

Founder
since when does tc use that and what does it help with...

TC added a month or two ago. It replaced ACE entirely. Boost is a C++ library. Since it replaced ACE library, it is now the major library used by TC. I recommend reading up on what they changed if they have a thread or any changelog around before doing anything since they do change a lot of stuff, and those changes aren't small.

I just submitted a tutorial on how to install & setup boost: http://emudevs.com/showthread.php/3864-How-to-install-and-setup-Boost?p=27120#post27120
 
Last edited:

albag

Respected Member
CMake Error at cmake/macros/FindBoost.cmake:1115 (message):
Unable to find the requested Boost libraries.

Boost version: 1.56.0

Boost include path: C:/boost_1_56_0

Could not find the following static Boost libraries:

boost_system
boost_thread
boost_program_options

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/macros/ConfigureBoost.cmake:28 (find_package)
CMakeLists.txt:60 (include)

i did try to change 56 to 55

Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
cmake/macros/ConfigureBoost.cmake:28 (find_package)
CMakeLists.txt:60 (include)


now i get this error
 

Seraphim

Noble Member
CMake Error at cmake/macros/FindBoost.cmake:1115 (message):
Unable to find the requested Boost libraries.

Boost version: 1.56.0

Boost include path: C:/boost_1_56_0

Could not find the following static Boost libraries:

boost_system
boost_thread
boost_program_options

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/macros/ConfigureBoost.cmake:28 (find_package)
CMakeLists.txt:60 (include)

i did try to change 56 to 55

Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
cmake/macros/ConfigureBoost.cmake:28 (find_package)
CMakeLists.txt:60 (include)


now i get this error

It looks to me like you didn't install your Boost in the right spot. That, or your CMake isn't able to locate the directory.
 
Status
Not open for further replies.
Top