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

Unable to use GLM 0.9.8.1 (not 0.9.7.3) with Android NDK #564

Closed
jandoerntlein opened this issue Oct 27, 2016 · 5 comments
Closed

Unable to use GLM 0.9.8.1 (not 0.9.7.3) with Android NDK #564

jandoerntlein opened this issue Oct 27, 2016 · 5 comments
Assignees
Milestone

Comments

@jandoerntlein
Copy link

Duplicate of #284. Problem reoccurs in 0.9.7.3. There is no "GLM_PLATFORM_ANDROID" check in the file "setup.hpp" anymore. Was the patch intentionally removed from later versions?

@Groovounet
Copy link
Member

What compiler are you using? Which STL library?

@Groovounet Groovounet self-assigned this Oct 27, 2016
@Groovounet Groovounet added this to the GLM 0.9.8 milestone Oct 27, 2016
@Groovounet Groovounet added the bug label Oct 27, 2016
@Groovounet
Copy link
Member

This issue should not happen with GLM 0.9.7.6 however it seems possible GLM 0.9.8.1 has the issue.

@Groovounet
Copy link
Member

This issue should be fixed for GLM 0.9.8.3 and in master branch.
Currently, I don't know of anyway to detect whether the project is being compiled with a C++11 STL on Android so I always assumed it's a C++ 98 STL.

Developers can use GLM_FORCE_CXX11 to force the use of a C++11 STL but this will result into compilation error if the used STL isn't a C++11 STL.

Thanks for reporting,
Christophe

@jandoerntlein
Copy link
Author

Sorry for the late reply. My 3rdparty database showed version 0.9.7.3, but checked-out was version 0.9.8.1 (which you mentioned has the issue). Therefore I will today upgrade to 0.9.8.3 as proposed and report if the issue is still experienceable.

@jandoerntlein
Copy link
Author

Fixed. Thank you!

@jandoerntlein jandoerntlein changed the title Unable to use GLM 0.9.7.3 with Android NDK Unable to use GLM 0.9.8.1 (not 0.9.7.3) with Android NDK Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants