Hello,
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
"/usr/lib64/libboost_date_time-d.a"
but this file does not exist. Possible reasons include:
-
The installation package was faulty and contained
“/usr/lib64/boost/Boost-relwithdebinfo.cmake”
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.
CMAKE_BUILD_TYPE:STRING=-O3 -DNDEBUG
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.
URL : Debian -- Error
sudo yum install libboost*
The code is fetching Debian -- Error
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
OR - install the libboost_date_time-d.a with the correct package.
Many thanks in advance
Best regards,
Laurent.