-
Notifications
You must be signed in to change notification settings - Fork 226
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 failed on calculate_constants.hpp #885
Comments
@dharanlinux Can you please test the linked patch to see if it solves your issue? |
@mborland Sorry it is not fixing the issue. I am using the uClibc for cross-compiling the boost. |
@mborland those headers will have been included anyway. Two questions: are you building for C++11 or later? And does your implement std::cbrt or is it missing? |
Hi @dharanlinux sometimes older or incomplete versions of the C/C++ standard library do not include This might be the case for your query. Cc: @mborland and @jzmaddock |
Looking through the uClibc++ source there is no definition of |
This might be a larger problem for the OP. My understanding is that this port is based on an older standard like C++03 (although this is not, as far as I can see, officially stated in the docs mentioned above). I'd like to know from @dharanlinux is an embedded system being targeted here? If so, which compiler/microcontroller is being targeted here? It sounds like you're on an embedded system? Depending on the situation there might be some other options. |
I am using the raspberry-pi3 board with uclibc. As you mentioned my uclibc source doesn't provide the std::cbrt. |
@NAThompson : Looks like you added the plastic constant which is the problem here, is there any reason not to remove the using declarations here? The rationale, is that this code is only used when calculating the constants to extended precision so the std:: versions will never be used anyway as T will be a multiprecision UDT type? |
@jzmaddock : You're exactly right; we can remove it. |
@dharanlinux can you try #888 to see if it solves your issue? |
@mborland Thanks for the followup and fix. Yes the shared patch fix the build issue. |
Facing below build issue with boost-1.80.1. Do we need to include the missing header.
Check the below error log.
The text was updated successfully, but these errors were encountered: