Sunday, November 6, 2011

Starting opengl development on linux

I have been working on opengl es for iphone from a past few days. But the development environment is available only at my home.

So i thought of trying my hands on opengl too, which will be easier to pick up, owing to the sheer amount of literature available for it.

I have Kubuntu 11.10 installed on my netbook ( a samsung n150 plus, dual core atom) and i use code:blocks as the development ide, when i tried building the provided sample for opengl i got the "GL/gl.h no such file or directory" error.

I looked around for a solution and this is how i was able to solve the problem.
The freeglut3 and freeglut3-dev libraries were missing.

after installing them i was able to execute the example successfully.

On a debian based system we can install them as,

apt-get install freeglut3 freeglut3-dev

Will share more on my experiments with opengl as I delve deeper on this exciting technology.

Regards,
Ishan Malviya





No comments:

Post a Comment