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

Cmake compile fails with Boost ver 1.78 #243

Open
gjgress opened this issue Jun 23, 2022 · 3 comments
Open

Cmake compile fails with Boost ver 1.78 #243

gjgress opened this issue Jun 23, 2022 · 3 comments

Comments

@gjgress
Copy link

gjgress commented Jun 23, 2022

Trying to compile fmm fails, producing errors regarding boost (specifically boost/geometry).

Downgrading to boost 1.72 worked to resolve the issue, but there are other programs that use boost libraries, and so downgrading is both not easy and risky.

These errors occurred on Manjaro (Arch).

Expected behavior

Should compile with modern versions of Boost libraries.

@ashirwad
Copy link

@gjgress, I am experiencing the same problem! Can you please explain how you downgraded boost to 1.72?

@Wikunia
Copy link

Wikunia commented Jan 20, 2023

Hi @ashirwad I just had the same problem with Arch linux and used:
https://wiki.archlinux.org/title/Arch_Linux_Archive#How_to_downgrade_one_package
and https://archive.archlinux.org/packages/b/boost-libs/ and https://archive.archlinux.org/packages/b/boost 1.72.0-4 for it.
Still hope someone manages to make it work with newer versions though as boost is used by many other packages as well.

@ashirwad
Copy link

@Wikunia, thanks! One thing I have noticed is that if you edit line 30 of fmm/CMakeLists.txt: set(CMAKE_CXX_STANDARD 14) (14 instead of 11), then the program compiles with the latest version of boost! Do give it a try.

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

3 participants