Reply
Thread Tools
Posts: 49 | Thanked: 41 times | Joined on Apr 2010
#1
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

Last edited by viraptor; 2010-04-17 at 20:52.
 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#2
Originally Posted by viraptor View Post
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.
 

The Following User Says Thank You to mikkov For This Useful Post:
Posts: 49 | Thanked: 41 times | Joined on Apr 2010
#3
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?
 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#4
Originally Posted by viraptor View Post
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/


Originally Posted by viraptor View Post
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?
 

The Following User Says Thank You to mikkov For This Useful Post:
www.rzr.online.fr's Avatar
Posts: 1,348 | Thanked: 1,863 times | Joined on Jan 2009 @ fr/35/rennes
#5
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
__________________
Current obsession:

https://purl.org/rzr/abandonware

Please help to list all maemo existing apps :

https://github.com/abandonware/aband...ment-578143760

https://wiki.maemo.org/Apps#

I am looking for " 4 inch TFT LCD display screen " for Nokia n950 HandSet

http://rzr.online.fr/q/lcd


Also, I need online storage to archive files :

http://db.tt/gn5Qffd6#

https://my.pcloud.com/#page=register...e=g8ikZmcfEJy#
 
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#6
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:52.