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

Error on v1.0 with Linux cmake build #11

Open
vincentjzy opened this issue Feb 9, 2023 Discussed in #10 · 0 comments
Open

Error on v1.0 with Linux cmake build #11

vincentjzy opened this issue Feb 9, 2023 Discussed in #10 · 0 comments

Comments

@vincentjzy
Copy link
Owner

Discussed in #10

Originally posted by club660 February 9, 2023
make a OpenCorr v1.0 build with following error on 'oc_point'

error: ‘sqrt’ was not declared in this scope
42 | return sqrt(x * x + y * y);
| ^~~~

Update:
Add #include <math.h> at the beginning solve this problem.

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

No branches or pull requests

1 participant