• 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 : Boost

Status
Not open for further replies.

katos

Noble Member
Hey guys,

Having a nightmare with the compile of revision 54 - which requires Boost. I have installed boost, and have come to compile, and got the following error:

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:57 (include)

So, I have searched around and this was recommended:
This did the trick for me, make sure you add this line correctly in your CMakeLists.txt: set (ENV{BOOST_ROOT} "C:/Boost")

So I changed the root folder to the one that effects me:
set (ENV{BOOST_ROOT} "C:/Program Files/boost/boost_1_55_0")

have had no luck, I get the same error.
I have also tried moving Boost to C:/Boost and got the same error also.
Does anyone have any idea what my issue might be? Most likely I am missing something simple. :(

Many thanks,
Katos.
 
Status
Not open for further replies.
Top