GLUT


5 posts
by taoufiksmires » Thu Mar 20, 2014 11:33 pm
hello ,
I need to install glut in my raspberry , is there command to do that ??like sudo -get install !!
Posts: 4
Joined: Thu Mar 20, 2014 10:03 pm
by Jessie » Thu Mar 20, 2014 11:46 pm
Regular glut doesn't work you will have to download and install the one built for openGL ES. Its been over a year since I attempted it so I can't be much help.
User avatar
Posts: 1754
Joined: Fri Nov 04, 2011 7:40 pm
Location: C/S CO USA
by taoufiksmires » Fri Mar 21, 2014 3:02 pm
can i use the glut normally if i install open gl es ? or i have to learn how i can programm with opengl es ??
Posts: 4
Joined: Thu Mar 20, 2014 10:03 pm
by ghans » Fri Mar 21, 2014 4:14 pm
You might want to try glshim , i myself do not know how well
it works with GLUT , though :

viewtopic.php?f=78&t=63264


FreeGLUT has OpenGL ES support , but i guess it needs some
adjustment to run on the Pi with HW support.


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
Posts: 7157
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany
by gitju » Sun May 15, 2016 9:31 pm
Just tried a project with GLUT and it works (now).
Code: Select all
$ sudo apt-get install freeglut3-dev g++

Is all you need to get started.
When you compile your program just link GLUT.
Gonna try more stuff with GLUT on Raspian now, this really makes so much fun.
Posts: 1
Joined: Sun May 15, 2016 9:24 pm