-
Notifications
You must be signed in to change notification settings - Fork 673
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
Build fails with Boost 1.73.0 #347
Comments
I somehow wasn't able to reproduce the bug, even though it's super obvious. Maybe some CMake / Boost version issue on my end. However, I think a proper usage of includes will fix this. |
Lol immediately after hitting send I realized what I was doing wrong. Yeah I can see the bug. A better fix is to add the appropriate includes everywhere. I notice a lot of new, unrelated warnings with Boost 1.73 but one thing at a time. |
Fixedb by 13caaf0 |
Check out the commit above. If it's not on 3.13, try backporting. |
Still trying to get UHD 3.13 working. Adding UHDBoost.cmake didn't address it. Are you suggesting using an older version of boost? |
I meant backport the commit, but if you can switch to an older version of Boost (1.53 was the min for 3.13) then you should be fine, too. Boost often changes things that break builds, so older versions of UHD always bitrot in this way. We're slowly removing our Boost dependencies, but that's an effort that'll take years (and won't help you in this case). |
Issue Description
Trying to build with Boost 1.73.0 results in dozens of failures, due to changes in Boost.Bind. One example:
Other headers get this message:
I've used this patch to get it to build in Fedora:
https://src.fedoraproject.org/rpms/uhd/blob/745534ebabc68ae009475424e8bcee0fc5f0317a/f/uhd-bind-placeholders.patch
The patch doesn't apply cleanly to the current sources, so I'm just reporting an issue, not giving you a pull request, sorry.
The text was updated successfully, but these errors were encountered: