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

Boost and CMake versions for building the code. #11

Open
shivanipods opened this issue Jan 8, 2018 · 1 comment
Open

Boost and CMake versions for building the code. #11

shivanipods opened this issue Jan 8, 2018 · 1 comment

Comments

@shivanipods
Copy link

Hi, I am attempting to build this project, and there seems to be some conflict between the versions of cmake and boost. My command prompt is pasted here.

The versions I am using are:
cmake version 3.10.1
boost version 1.65.1

Please let me know the versions that have been used for the project. Thanks a lot.

@Yusifu
Copy link

Yusifu commented Jul 25, 2018

It is not conflict between versions. I have met the same problem as you.
It is because the boost's iostream library depends on zlib and bzip2, so you should install zlib and bzip2 first and then run
tar --bzip2 -xf /path/to/boost_1_67_0.tar.bz2
./bootstrap.sh --prefix=path/to/installation/prefix
./b2
./b2 install
See 【5.4 In Case of Build Errors】in Page: https://www.boost.org/doc/libs/1_67_0/more/getting_started/unix-variants.html

Note that when you run ./b2 you should see the following result:
- zib :yes(cached)
- bzip2 :yes(cached)

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