-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 is not detected out of the box on FreeBSD #2239
Comments
|
Same problem on OSX. If BOOST_ROOT is unspecified, Meson complain that it can't find boost when it is located in /usr/local. |
|
This is a deficiency in the |
|
The bigger question here is when should be look under |
|
OS X, the BSDs, and others use |
|
You can read about the filesystem hierarchy here: https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard |
The new implementation will correctly pick boost from 3 possible locations on windows and two locations on posix compatible OSs. The new search algorithm also differentiates between debug and release builds of Boost and multi or single threading builds. It was also decided to map "Meson modules" to Boost software libraries and not Boost modules since it there are a lot of options regarding linking. Some modules can even be used either as headers-only or with dynamic linking. This commit also fixes a bug that prevented header-only use on Windows. Fixes: mesonbuild#2274 mesonbuild#2239 mesonbuild#1803 mesonbuild#669
|
This is fixed with #2282 |
|
This is not working with meson 0.4.9, boost 1.69, and FreeBSD 12. It fails to include Relevant section from log file: and some more info for the record: |
|
The boost dependency has been rewritten quite a bit since 2019 I think -- anyway, currently it detects the above mentioned layout just fine. |
Before providing more details, I wanted to make sure that Boost is supposed to "just work" if installed with the system package manager with its headers in /usr/local/include/boost/ and its libs in /usr/local/lib/, because out-of-the-box meson on FreeBSD complains that boost was not found when it's included as a project dependency.
This is without BOOST_INCLUDEDIR or BOOST_ROOT set. I didn't have to set them on Ubuntu; I would have supposed the same would apply for FreeBSD. (Setting them and manually adding the link directory made everything work.)
The text was updated successfully, but these errors were encountered: