This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Problem:Edgebuilder on Android with OpenGL


Problem:Edgebuilder on Android with OpenGL

Postby djantoniop » Apr 14, 2012 @ 11:24pm

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: Select all

#define EGL_USEGL
1 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

#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









10 
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"
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









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
9 lines; 6 keywds; 8 nums; 89 ops; 0 strs; 0 coms    Syntactic Coloring v0.4 - Dan East  


How can I resolve this problem?
djantoniop
pm Member
 
Posts: 3
Joined: Apr 14, 2012 @ 11:13pm


Re: Problem:Edgebuilder on Android with OpenGL

Postby djantoniop » Apr 15, 2012 @ 1:45pm

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?
djantoniop
pm Member
 
Posts: 3
Joined: Apr 14, 2012 @ 11:13pm


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron