tmxlite icon indicating copy to clipboard operation
tmxlite copied to clipboard

Error with Android.hpp

Open 1-max-1 opened this issue 5 years ago • 1 comments

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 '{'

1-max-1 avatar Sep 05 '20 04:09 1-max-1

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

fallahn avatar Sep 05 '20 09:09 fallahn