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

Fix compilation on Visual Studio. #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grandwork2
Copy link

Microsoft Visual Studio 2017 does not define WIN32 but defines _WIN32.
Without this change the module does not compile (is missing M_PI definition).

@gonultasbu
Copy link

gonultasbu commented Jan 2, 2021

this works for Python 3.x, however still gives

'INFINITY' : undeclared identifier

in Python 2.x for my case.

@rbebb
Copy link

rbebb commented Sep 14, 2022

@gonultasbu I think it's ok to skip Python 2 at this point

@gonultasbu
Copy link

@rbebb unless you want to use it in older versions of ROS.

@rbebb
Copy link

rbebb commented Nov 9, 2022

@AndrewWalker can this be merged?

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.

3 participants