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

[build] Use Boost's pi constant instead of M_PI in Geometry #1322

Merged
merged 1 commit into from
Dec 19, 2022

Conversation

cbentejac
Copy link
Contributor

When building QtAliceVision, M_PI generates C2065 errors (undeclared identifiers) on Windows, even with the correct includes. Replacing it with Boost's pi fixes this error.

@cbentejac cbentejac self-assigned this Dec 19, 2022
When building QtAliceVision, M_PI generates C2065 errors (undeclared
identifiers) on Windows, even with the correct includes. Replacing it
with Boost's pi fixes this error.
@cbentejac cbentejac force-pushed the fix/buildQtAliceVision branch from 391d0ee to 1130fa2 Compare December 19, 2022 09:19
@fabiencastan fabiencastan added this to the 2.5.0 milestone Dec 19, 2022
@fabiencastan fabiencastan merged commit b059876 into develop Dec 19, 2022
@fabiencastan fabiencastan deleted the fix/buildQtAliceVision branch December 19, 2022 22:03
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