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

Error with Android.hpp #74

Open
1-max-1 opened this issue Sep 5, 2020 · 1 comment
Open

Error with Android.hpp #74

1-max-1 opened this issue Sep 5, 2020 · 1 comment

Comments

@1-max-1
Copy link

1-max-1 commented Sep 5, 2020

I get the following error when I try to compile with the android NDK:

In file included from E:\max\android_libs\tmxliteOG\tmxlite\src\FreeFuncs.cpp:28:
In file included from E:\max\android_libs\tmxliteOG\tmxlite\include\tmxlite\FreeFuncs.hpp:54:
E:\max\android_libs\tmxliteOG\tmxlite\include\tmxlite\detail\Android.hpp:37:11: error: expected '{'
@fallahn
Copy link
Owner

fallahn commented Sep 5, 2020

Which version of the NDK are you using, and which toolchain? I can compile the library for android with NDK-r16b using CLANG 5.0 with LLVM libc++ and g++4.9 with GNU STL with the following flags:

-frtti -std=c++14

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