PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Problem:Edgebuilder on Android with OpenGL

Hi,
I hope that someone can help me...
I don't understand how can compile my project with EdgeBuilder on Android with also OpenGL.
I define the use of OpenGL:
Code:
#define EGL_USEGL

and include the header file:
Code:
#include "C:\Program Files\Android\android-ndk-r6m-windows\platforms\android-9\arch-arm\usr\include\GLES\gl.h"

and also include in the ini file of EdgeBuilder more info:
Code:
incpath = "c:\Program Files\Android\android-ndk-r6m-windows\platforms\android-9\arch-arm\usr\include\GLES\"
incpath = "c:\Program Files\Android\android-ndk-r6m-windows\platforms\android-9\arch-arm\usr\include\EGL\"
incpath = "c:\Program Files\Android\android-ndk-r6m-windows\platforms\android-9\arch-arm\usr\include\KHR\"
libpath = "c:\Program Files\Android\android-ndk-r6m-windows\platforms\android-9\arch-arm\usr\lib\"
libpath = "c:\projects\Edge\lib\android\opengl\"
libpath = "c:\projects\Edge\lib\android\"
incpath = "c:\projects\Edge\include\"
staticlib = "c:\Program Files\Android\android-ndk-r6m-windows\platforms\android-9\arch-arm\usr\lib\libGLESv1_CM.so"
staticlib = "c:\Program Files\Android\android-ndk-r6m-windows\platforms\android-9\arch-arm\usr\lib\libEGL.so"
pluginlib = "opengl\libplugingl1-0.a"


but don't work!
It give me this error:
Code:
c:\projects\Edge\lib\android\libedge.a(emod_dsp.obj): In function `ClassEDisplay::OnContextLost()':
emod_dsp.cpp:(.text._ZN13ClassEDisplay13OnContextLostEv+0x10): undefined reference to `EdgeGL_Repair(void*)'
C:\projects\Edge\\lib\android\opengl\libplugingl1-0.a(wrap_glesandroid.obj): In function `EdgeGLInterface::UpdateState()':
wrap_glesandroid.cpp:(.text._ZN15EdgeGLInterface11UpdateStateEv+0x4): undefined reference to `Call_Edglib3DView_getWidth()'
wrap_glesandroid.cpp:(.text._ZN15EdgeGLInterface11UpdateStateEv+0xa): undefined reference to `Call_Edglib3DView_getHeight()'
C:\projects\Edge\\lib\android\opengl\libplugingl1-0.a(wrap_glesandroid.obj): In function `EdgeGLInterface::Open(int, unsigned long, unsigned long)':
wrap_glesandroid.cpp:(.text._ZN15EdgeGLInterface4OpenEimm+0x76): undefined reference to `Call_Edglib3DView_getWidth()'
wrap_glesandroid.cpp:(.text._ZN15EdgeGLInterface4OpenEimm+0x7c): undefined reference to `Call_Edglib3DView_getHeight()'
collect2: ld returned 1 exit status


How can I resolve this problem?
I think that my problem is linked in some way to the configuration of EdgeBuilder, please can someone post me any project that uses openGL on android and is working?