LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2007, 10:13 AM   #1
lamtab
Member
 
Registered: Nov 2007
Posts: 31

Rep: Reputation: 15
compilation problem


I have a problem with the compilation of an opengl project. I get
error: glut.h: No such file or directory
I have ubuntu gutsy and have installed my card's driver(ati x1400). Do I miss some packages?
 
Old 11-12-2007, 10:15 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You need the freeglut3-dev package.
 
Old 11-12-2007, 10:16 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Check if you have the freeglut3-dev installed. It should provide glut.h

Edit: beaten by Nylex for a bunch of seconds
 
Old 11-12-2007, 10:40 AM   #4
lamtab
Member
 
Registered: Nov 2007
Posts: 31

Original Poster
Rep: Reputation: 15
I do have freeglut3 installed so what now???
 
Old 11-12-2007, 10:45 AM   #5
lamtab
Member
 
Registered: Nov 2007
Posts: 31

Original Poster
Rep: Reputation: 15
I reinstalled freeglut3 and that problem is gone but now i get a lot of
undefined reference to `glRotatef'
and other stuff like that. looool

OK problem solved thx all

Last edited by lamtab; 11-12-2007 at 10:47 AM.
 
Old 11-12-2007, 06:28 PM   #6
lamtab
Member
 
Registered: Nov 2007
Posts: 31

Original Poster
Rep: Reputation: 15
It looks like i wont figure things out. I get segmentation fault. Anybody had that problem with opengl?
 
  


Reply

Tags
opengl


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
compilation problem girish_hilage AIX 3 05-31-2006 09:01 AM
C++ Compilation problem with G++ nelnel Programming 6 07-06-2005 10:58 PM
Compilation Problem jonty_11 Programming 4 03-24-2005 10:45 PM
c compilation problem edreddy Programming 5 06-02-2004 01:37 PM
Compilation problem... need help Korshun Programming 2 05-07-2002 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:35 AM.

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