Active Topics

 


Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on Mar 2010
#1
Can anyone tell me the what differences between "libgles2-dev" and "libgles2" ? i'm still new to Maemo development so i hope everyone could help a n00b like me . Thanks a lot
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#2
libgles2 is a runtime library used by applications.
-dev is a header etc. files package used to compile apps using the library.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 3 | Thanked: 0 times | Joined on Mar 2010
#3
Originally Posted by smoku View Post
libgles2 is a runtime library used by applications.
-dev is a header etc. files package used to compile apps using the library.
so that mean i need to apt-get install both in FREMANTLE_X86 environment right ?
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#4
Yes. You need both to develop/compile apps.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Posts: 3 | Thanked: 0 times | Joined on Mar 2010
#5
Some more questions , I read the Opengl ES article in maemo wiki , it said that you can't compile and run it in X86 environment , is this true ?

One more thing , in libgles2-dev description it said "Imagination OpenGL-ES2 emulation library+dev" . the word "emulation" make me think if i install this lib into x86 enviroment whether it would make the ogles app run on Xephyr , am i right ?
 
smoku's Avatar
Posts: 1,716 | Thanked: 3,007 times | Joined on Dec 2009 @ Warsaw, Poland
#6
Yes. This is exactly how it works.
In FREMANTLE_X86 environment you have a library that emulates OpenGL ES 2 on Xephyr.
On FREMANTLE_ARMEL you have the real library, but it works only on device.

So, normally you develop apps on _X86 environment, test, and then switch to _ARMEL environment, compile app for the device, put it on the device and run it there.
__________________
smoku @xiaoka.com (SMTP/XMPP) ...:.:....:... pebbled . Poky Fish : sixaxis . psx4m . uae4all
Jolla Phone post-mortem . . . . . . . . . . -> 1+1 VGN-UX390N
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:25.