Error building Android version
Posted: Fri Jul 01, 2016 6:56 pm
Hello:
I am trying to build the Android version (ogl-es branch) of Irrlicht on an Ubuntu 14.04 Linux machine with latest updates and a recent version of Android SDK and NDK.
I have done the following so far:
$ svn checkout svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es irrlicht-ogl-es
$ cd irrlicht-ogl-es/source/Irrlicht/Android
$ export PATH=$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/ndk-bundle:$PATH
$ ndk-build
The NDK build output ends with the following error message:
[arm64-v8a] Compile++ : Irrlicht <= CEGLManager.cpp
jni/../../CEGLManager.cpp: In member function 'virtual bool irr::video::CEGLManager::generateSurface()':
jni/../../CEGLManager.cpp:245:61: error: 'ANativeWindow_setBuffersGeometry' was not declared in this scope
ANativeWindow_setBuffersGeometry(EglWindow, 0, 0, Format);
^
make: *** [obj/local/arm64-v8a/objs/Irrlicht/CEGLManager.o] Error 1
and it does not generate the expected output file in lib/Android
Any ideas ?
I am trying to build the Android version (ogl-es branch) of Irrlicht on an Ubuntu 14.04 Linux machine with latest updates and a recent version of Android SDK and NDK.
I have done the following so far:
$ svn checkout svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es irrlicht-ogl-es
$ cd irrlicht-ogl-es/source/Irrlicht/Android
$ export PATH=$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/ndk-bundle:$PATH
$ ndk-build
The NDK build output ends with the following error message:
[arm64-v8a] Compile++ : Irrlicht <= CEGLManager.cpp
jni/../../CEGLManager.cpp: In member function 'virtual bool irr::video::CEGLManager::generateSurface()':
jni/../../CEGLManager.cpp:245:61: error: 'ANativeWindow_setBuffersGeometry' was not declared in this scope
ANativeWindow_setBuffersGeometry(EglWindow, 0, 0, Format);
^
make: *** [obj/local/arm64-v8a/objs/Irrlicht/CEGLManager.o] Error 1
and it does not generate the expected output file in lib/Android
Any ideas ?