LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-18-2003, 09:24 AM   #1
drdroid
Member
 
Registered: Oct 2003
Location: Here
Distribution: Redhat 9.0
Posts: 124

Rep: Reputation: 15
Glut - What/How to Install & What to Attach/Include


I installed the development libraries for glut the other day and I've been having some troubles compiling some source I got out of the book. This could be concidered multi-posting but, believe me, it's not. Here are the steps I took:



Code:
1. I downloaded the glut libraries and such as rpm's.

2. I installed them.

3. I rebooted the machine.

4. Attempted to compile software.

Is anything missing there? Next is there anything that I should do special when compiling the source, ie. options for the g++ command?
 
Old 10-18-2003, 05:17 PM   #2
randomblast
Member
 
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
glut sux.
i had it installed as standard with my redhat install and no programs that i tried to install from RPMs or compile from source could find glut, even after editing these programs source configure files and source code to use the libraries that i had not yet installed.
i kinda got somewhere with 3dfile, it compiled half the thing after i had removed the other bugs in the code (undeclared variables, mainly in debug and error messages which i did not really need)
vega-strike just would not compile at all, even though it finds the header files and libraries, and it was getting stuck on glut.
 
Old 10-18-2003, 08:14 PM   #3
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
did you download and install glut-devel? you're gonna need that i believe. as far as compiling programs, you can use the -lglut option when invoking the compiler. glut works just fine. you need glut-devel for developing in glut though.

Quote:
glut sux

Last edited by megaspaz; 10-18-2003 at 08:22 PM.
 
Old 10-19-2003, 04:32 PM   #4
randomblast
Member
 
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
and where does one get glut-devel?
it shure aint on the glut site, and personnaly i hate RPMs..is this my only option?
 
Old 10-19-2003, 04:43 PM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
actually, the are no linux packages of glut on the glut site period (unless you want to say the Unix tarball is a linux package). yes, rpms are the only options AFAIK.

http://www.google.com/search?hl=en&l...=Google+Search

Last edited by megaspaz; 10-19-2003 at 04:44 PM.
 
Old 10-19-2003, 05:08 PM   #6
randomblast
Member
 
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
bah.. i got the tarball
i also had it installed in the first place with my redhat but it still didn't work - mebe glut-devel doesn't come with it
 
Old 10-19-2003, 05:19 PM   #7
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
well if you really want to see if glut-devel was installed just query your rpm database. my guess is that glut and/or glut-devel doesn't install on default and that they're both 2 seperate rpms so installing glut only installs the *.so file. installing glut-devel should install the header files in /usr/include.

edit: i meant query your rpm database before installing glut-devel that you got as a tarball.
 
  


Reply



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
Quanta install can't find X include Ezplan Linux - Software 6 12-03-2005 04:00 PM
how to install GLUT 6u4nYu Linux - General 11 12-16-2004 10:23 PM
include KDE 3.2.3 while slack install mehargags Slackware - Installation 3 08-18-2004 02:03 PM
SUSE FTP install doesn't include YaST? TACD Linux - Distributions 2 05-20-2004 08:08 PM
glut install help saturn_vk Linux - General 0 04-26-2003 04:15 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:53 PM.

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
Open Source Consulting | Domain Registration