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

Support for Windows x64 #2

Closed
Who8MyLunch opened this issue Jun 7, 2013 · 2 comments
Closed

Support for Windows x64 #2

Who8MyLunch opened this issue Jun 7, 2013 · 2 comments

Comments

@Who8MyLunch
Copy link

The setup.py is currently configured for developer environments where the compiler is expected to behave similar to GCC. Do there exist plans to support Visual Studio and x64 on Windows platforms?

@storpipfugl
Copy link
Owner

Hi,

As we are working in a Linux only environment, Visual Studio does not support C99 and OpenMP requires Visual Studio Professional we can't currently justify using the resources to make a version for Windows with Visual Studio.

What is required:

  1. Adding a compiler flag block to setup.py with the correct flags for MSVC e.g.: http://stackoverflow.com/questions/724664/python-distutils-how-to-get-a-compiler-that-is-going-to-be-used
  2. As for C99 pykdtree relies on <stdint.h> and the restrict keyword. The <stdint.h> is included from Visual Studio 2010 so that should work. The restrict keyword might be ignored by MSVC otherwise a blank macro should do the trick
  3. OpenMP support needs to be tested with Visual Studio Professional

I'll of course look into any problems reported if somebody tries to build it with Visual Studio on Windows.

Best regards,
Esben

@storpipfugl
Copy link
Owner

Fixed by v1.2.0

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

2 participants