Closed ANtlord closed 10 years ago
File "GainputContainers.h" on line 233 has declaration of class "HashMap". If to set another name for this class, than compile is successful. May it happens, because Android SDK has class with this name?
Sorry, I, probably, doesn't look something. Now It compiled.
Hello. I'm developing game for android by NDK and OGRE 3D. I try just include header file gainput/gainput.h in my source and when I started compile application, compiler show error:
gainput/lib/include/gainput/GainputContainers.h:233:1: error: global qualification of class name is invalid before '{' token
When I configured Gainput, I had problem with path to toolchain arm-linux-androideabi-4.6. Path in wscript point to android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin, but I have it in _android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x8664/bin. And I replace path in wscript for solve.
My target api is 14 (Android 4.0). I'm using GNU/Linux.