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: Select all
1#define EGL_USEGL1 lines; 1 keywds; 0 nums; 0 ops; 0 strs; 0 coms Syntactic Coloring v0.4 - Dan East
and include the header file:
- Code: Select all
1#include "C:\Program Files\Android\android-ndk-r6m-windows\platforms\android-9\arch-arm\usr\include\GLES\gl.h"1 lines; 1 keywds; 0 nums; 0 ops; 1 strs; 0 coms Syntactic Coloring v0.4 - Dan East
and also include in the ini file of EdgeBuilder more info:
- Code: Select all
1
2
3
4
5
6
7
8
9
10incpath = "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"10 lines; 0 keywds; 0 nums; 10 ops; 10 strs; 0 coms Syntactic Coloring v0.4 - Dan East
but don't work!
It give me this error:
- Code: Select all
1
2
3
4
5
6
7
8
9c:\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 status9 lines; 6 keywds; 8 nums; 89 ops; 0 strs; 0 coms Syntactic Coloring v0.4 - Dan East
How can I resolve this problem?
