Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-17-2004, 02:15 PM   #1
Registered: Nov 2003
Location: Ontario, Canada
Distribution: Ubuntu
Posts: 269

Rep: Reputation: 30
installing glut help needed


I downloaded the glut....tar.gz file and untarred it.

Unfortunately I'm not sure what to do next! I did put the glut.h in my GL/ folder - but I still can't compile a simple program using glut.

Can anyone help me please??
Old 10-17-2004, 09:47 PM   #2
LQ Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Been a while since I've used GLUT, but if I recall correctly you need to compile with the following options:

gcc -lGL -lGLU your_source_code.c

Also, be sure to include:

#include <GL/glu.h>
#include <GL/glut.h>

in your source code.

But a word of advice - GLUT sucks. I spent countless hours learning it only to find out it's extraordinarily limited and effectively useless for any real programming. If I had it to do over agin, I would have spent my time learning a GL interface that is practical in real-world apps. wxWidgets has one, and there are plenty of others if you look around a bit. Good luck!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing xerces-c, Help needed Jorek Linux - Newbie 3 10-19-2005 02:10 PM
Help needed for installing amigo linuxnoob223 Amigo 3 10-12-2004 01:41 PM
help installing glut paulr1984 Linux - Software 8 03-17-2004 08:42 AM
installing glut paulr1984 Linux - Software 1 03-08-2004 01:40 AM
help needed on installing powwow ungolianth Linux - Newbie 4 11-23-2003 10:52 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration