I am trying to build nheqminer based on
Here is the error
CMake Error at /usr/lib64/boost/Boost-relwithdebinfo.cmake:1499 (MESSAGE):
The imported target “boost_date_time-static-debug” references the file
but this file does not exist. Possible reasons include:
The installation package was faulty and contained
And YES the file ‘libboost_date_time**-d**.a’ does not exist but the “release” version ‘libboost_date_time.a’ is there so I have tried to edit CMakeCache.txt for forcing the RELEASE build :
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
Whatever I try the code always goes for DEBUG and requires the missing file…
So I have been looking for the repository that has the full libboost package, that should include the ‘libboost_date_time-d.a’
I am stll pretty new, so I have checked the doc to add repo with yum-config-manager, despite having found site with the package adding the URL fails.
sudo yum install libboost*
The code is fetching https://packages.debian.org/jessie/libboost-all-dev/repodata/repomd.xml
and it fails because the site has not such file - I have tested with a browser.
Basically, I would like to:
- compile in release mode so it passes (hopefully) with libboost_date_time.a
- install the libboost_date_time-d.a with the correct package.
Many thanks in advance