maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Opengl ES libs questions (https://talk.maemo.org/showthread.php?t=48520)

hotxac 2010-03-28 07:58

Opengl ES libs questions
 
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 :D . Thanks a lot

smoku 2010-03-28 08:05

Re: Opengl ES libs questions
 
libgles2 is a runtime library used by applications.
-dev is a header etc. files package used to compile apps using the library.

hotxac 2010-03-28 10:14

Re: Opengl ES libs questions
 
Quote:

Originally Posted by smoku (Post 585121)
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 2010-03-28 10:37

Re: Opengl ES libs questions
 
Yes. You need both to develop/compile apps.

hotxac 2010-04-01 17:42

Re: Opengl ES libs questions
 
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 2010-04-01 19:37

Re: Opengl ES libs questions
 
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.


All times are GMT. The time now is 23:35.

vBulletin® Version 3.8.8