Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install boost with configure #26

Open
Yingjie848 opened this issue Aug 5, 2022 · 3 comments
Open

install boost with configure #26

Yingjie848 opened this issue Aug 5, 2022 · 3 comments

Comments

@Yingjie848
Copy link

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

@winni2k
Copy link
Contributor

winni2k commented Aug 5, 2022

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

@Yingjie848
Copy link
Author

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.

@winni2k
Copy link
Contributor

winni2k commented Aug 5, 2022

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

Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants