Skip to content

Conversation

ms609
Copy link
Contributor

@ms609 ms609 commented Nov 14, 2024

Gets things running on Windows without edits to CMakeLists.txt

@bredelings
Copy link
Contributor

Cool. Does this work without setting BOOST_LIBRARYDIR? If so, perhaps we should just set BOOST_ROOT.

@ms609 ms609 marked this pull request as draft November 14, 2024 16:02
@ms609
Copy link
Contributor Author

ms609 commented Nov 14, 2024

I want to double-check that the issue I thought I'd solved by adding BOOST_LIBRARYDIR was not in fact related to needing to recompile Boost. I'm next on the affected machine on Monday so will mark this as draft until I can verify.

@bredelings
Copy link
Contributor

Ah... I think if you compile boost and install it, then setting BOOST_ROOT to the installed location (not the build directory) is sufficient. However, if you set BOOST_ROOT to the build directory, then you may also need to set BOOST_LIBRARYDIR, because the library directory is in the wrong place relative to the root.

@bredelings
Copy link
Contributor

See https://revbayes.github.io/compile-linux for an example setting the installed location.

Hmm.... boost-1.74 is no longer new...

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

Successfully merging this pull request may close these issues.

2 participants