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

M_PI is not declared #10

Open
tuncali opened this issue Apr 10, 2018 · 0 comments
Open

M_PI is not declared #10

tuncali opened this issue Apr 10, 2018 · 0 comments

Comments

@tuncali
Copy link

tuncali commented Apr 10, 2018

Depending on the configuration, M_PI may not be declared in math.h (e.g. my system) which causes "M_PI is not declared" error. You may want to add the following to dubins.c in order to eliminate compatibility issues:
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

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