maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Installing libgl-dev (https://talk.maemo.org/showthread.php?t=50316)

viraptor 2010-04-17 20:21

Installing libgl-dev
 
HI,
I'm trying to install some packages to compile stuff in the SDK. Specifically libgl-dev. [EDIT: forget previous problem - I solved it, but now:] I've got libgl-dev installed ok in the x86 target. Unfortunately I there's no include/GL/gl.h available when I switch to the armel target.

I've got the same problem with glu.h (I see it was available in diablo, but not freemantle - is there any replacement?)

So... where did I fail? How do I get stuff that references libgl1/libgl-dev crosscompiled for n900?

Thanks

mikkov 2010-04-17 23:36

Re: Installing libgl-dev
 
Quote:

Originally Posted by viraptor (Post 615195)
HI,
So... where did I fail? How do I get stuff that references libgl1/libgl-dev crosscompiled for n900?

Thanks

N900 doesn't have OpenGL support but OpenGL ES support. Install libgles2-dev for OpenGL ES 2.0 and libgles1-sgx-img-dev OpenGL ES 1.1 headers.

viraptor 2010-04-18 04:18

Re: Installing libgl-dev
 
Ok - got through that part now. But a new problem arises - what about glu, glut and glx? The libraries themselves seem to be installed (I can see libGLU and libOSmesa in /usr/lib), but I cannot find the -dev packages anywhere.

Help?

mikkov 2010-04-19 20:53

Re: Installing libgl-dev
 
Quote:

Originally Posted by viraptor (Post 615530)
Ok - got through that part now. But a new problem arises - what about glu, glut and glx?

There really isn't glu, glut or glx. I think egl more or less replaces glx.

There are some opengles ports of glu ant glut.

http://code.google.com/p/glues/
http://glutes.sourceforge.net/


Quote:

Originally Posted by viraptor (Post 615530)
The libraries themselves seem to be installed (I can see libGLU and libOSmesa in /usr/lib)

Are you sure you are looking at N900, not your computer?

www.rzr.online.fr 2011-04-05 18:56

Re: Installing libgl-dev
 
is there a way to provide a opengl1.x API over GLES or does it depends on the driver (or hardware) ?

--
http://rzr.online.fr/q/meego

demolition 2011-04-05 20:07

Re: Installing libgl-dev
 
OpenGL ES 1 is like a slimmed down version of OpenGL 1.5 and ES 2.0 slimmed down version of full 2.0 (think I've got the versions right). If the commands used in the original sofware are all within the ES spec, it should compile for N900 but if there's any difference you'll need to do some alterations.


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

vBulletin® Version 3.8.8