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

FTBFS on Windows with MSVC++ 9 #23

Closed
ghost opened this issue Apr 20, 2016 · 1 comment
Closed

FTBFS on Windows with MSVC++ 9 #23

ghost opened this issue Apr 20, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 20, 2016

Since quaternion.h looks for _MSC_VER, I assume that MSVC++ is an intended target for this package. However, after installing "Microsoft Visual C++ Compiler for Python 2.7" and invoking

pip install git+git://github.com/moble/quaternion

the build phase fails due to various problems that may be unique to MSVC++:

  • The <math.h> functions isnan, isinf, and isfinite are apparently not available in quaternion.h.
  • The C99 compound literal syntax (e.g. (quaternion) { w, x, y, z }) is not supported by MSVC++.
@moble
Copy link
Owner

moble commented Apr 20, 2016

I simply copied that _MSC_VER line from an older package that added quaternions to numpy. I have no access to any computers running Windows, so I can't really be of any help in solving these problems or testing to see if they work on Windows. But I'd be happy to incorporate any changes you can suggest, as long as they don't break things on other platforms.

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