View Full Version : [SOLVED] CMake error : Boost

07-19-2014, 07:05 PM
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,

07-19-2014, 07:25 PM
Issue resolved, feel free to close.