SCIPhI icon indicating copy to clipboard operation
SCIPhI copied to clipboard

install boost with configure

Open Yingjie848 opened this issue 2 years ago • 3 comments

When I run ./configure, everything goes well, until this error jump out, I tried many things, but still not working:

--with-boost=$BOOST_PATH --with-boost-libdir=$BOOST_PATH set BOOST_ROOT

I appreciate if anyone can solve this problem!

checking for boostlib >= 1.50 (105000)... yes checking whether the Boost::Unit_Test_Framework library is available... yes configure: error: Could not find a version of the Boost::Unit_Test_Framework library!

It finds boost, but not a version of the Boost::Unit_Test_Framework library

Yingjie848 avatar Aug 05 '22 00:08 Yingjie848

What version of boost do you have installed?

In the past i have found that boost versions are not always backwards compatible. So a newer version of boost may not work for you.

I recommend trying to install the oldest acceptable version of boost (1.50?) or another version that is known to work. I usually use miniconda to install older versions of boost.

HTH

winni2k avatar Aug 05 '22 08:08 winni2k

I am using latest version boost 1.79, I will try a older version instead. When I use "cmake ./", it installed successfully, it runs well now, but I don't know if it still uses boost.

Yingjie848 avatar Aug 05 '22 12:08 Yingjie848

You could run the tests, but I don't think this code comes with tests?

Good luck!

winni2k avatar Aug 05 '22 13:08 winni2k