I am trying to install ismrmrd and following the installation guide for Windows.
In the step cmake-gui.exe
my cmake is not finding installed Boost.
After adding those lines to CMakeLists.txt
the result became interesting.
Any ideas?
UPDATE 8/21
thanks vre and user1234567
Now I changed to boost 1.66 and still no luck.
The new screenshot shows FindBoost is not complain anything now.
But still not any boost found.
UPDATE 8/22
After adding
cmake_policy(SET CMP0074 NEW)
and
set(Boost_USE_STATIC_LIBS ON) set(Boost_USE_MULTITHREADED ON) find_package(Boost REQUIRED system filesystem) include_directories(${Boost_INCLUDE_DIRS})
target_link_libraries(ismrmrd ${Boost_LIBRARIES})
into CMakeLists.txt
by the suggestion from vre
set(Boost_ADDITIONAL_VERSIONS 1.68.0 1.68)
as your CMake release date is older than the release date of your Boost version. FindBoost.cmake only knows Boost versions before its release date not newer ones. - vrehttps://sourceforge.net/projects/boost/files/boost-binaries/
? They are the maintainers of BOOST and provide binaries for lots of MSVC compilers. To correctly use Boost static libraries you should addset(Boost_USE_STATIC_LIBS ON) set(Boost_USE_MULTITHREADED ON) find_package(Boost REQUIRED system filesystem) include_directories(${Boost_INCLUDE_DIRS})
and to link against ittarget_link_libraries(your_target ${Boost_LIBRARIES})
to your CMakeLists.txt file. - vrebootstrap.bat
andb2.exe variant=debug,release link=static runtime-link=static address-model=64
from link - kaltu