Re: GLUT help

From: wave++ (wavexx_at_oblio.yuv.info)
Date: 09/27/04


Date: Mon, 27 Sep 2004 08:17:15 +0000

On Mon, 27 Sep 2004 11:29:55 +1100, spidy@iprimus.com.au wrote:
> Hhhmmm. Seems the command line switches given for this task, don't work under
> IRIX.
>
> Anyone know the equivalent IRIX switches to the following:
>
> cc prac9.c -lglut32 -lglu32 -lopengl32 -o prac9

This seems a win32 link.

Usually a GLUT program links as follows:

cc -o prac9 prac9.c -L/usr/freeware/lib32 -lglut -lGL -lGLU -lX11 -lXmu

(this assumes freeware's glut, note that the library order is relevant)

-- 
 __/   __,    wave++ "Yuri D'Elia" http://www.yuv.info/
/  \__/  \   HPC and Engineering: bringing BITs to life!
\__/  \_      WARNING: the email address is fake.