How to correctly install GLUT 3.7 in SGI?

How to correctly install GLUT 3.7 in SGI?

Post by Weining G » Wed, 24 May 2000 04:00:00




> If you copy the compiled libratries into the /usr/lib?? directories and
> put glut.h into /usr/include/GL, you should be all set.

There're more files in glut-3.7/lib:
fglut/         gle.n32/       glsmap.n64/    mui/
fglut.n32/     gle.n64/       glut/          mui.n32/
fglut.n64/     glsmap/        glut.n32/      mui.n64/
gle/           glsmap.n32/    glut.n64/

I already installed the file glut-3.7/lib/glut.n32/libglut.a to
/usr/lib32,
anything else?

There're two directories in glut-3.7/include: GL/   mui/
I already installed the files from glut-3.7/include/ to /usr/include/GL,
how about the files in mui?

Quote:> If you have a glut installation that you've done via the irix CD's or
> another inst image, you can get a list of all files associated with glut
> by typing:
> versions list glut_dev

% versions list glut_dev
/usr/include/GL/glut.h
/usr/lib/libglut.a
/usr/lib32/libglut.a
/usr/share/catman/p_man/cat3/GLUT/glut.z
/usr/share/catman/p_man/cat3/GLUT/glutAddMenuEntry.z
...

I already installed glut-3.7/lib/glut.n32/libglut.a to /usr/lib32,
how about the old /usr/lib/libglut.a?

Quote:> You'll notice glut.h, libglut.a and a whole bunch of manpages. The
> manpages go in /usr/share/catman/p_man/cat3/GLUT

There're more than 80 files in glut-3.7/man/glut, and how to install
these to /usr/share/catman/p_man/cat3/GLUT to replace the old ones?
Just copy?

Many thanks!

Weining Gu

> As for the glut_data tarfile, that's all the data and images for the
> various glut demos.

> -- Marcin


> > I am using:

> > SGI Irix 6.5.7(CC 7.3 comiler)
> > gcc2.95.2(gcc/g++)
> > GLUT 3.6

> > I downloaded glut-3.7.tar.gz from: http://reality.sgi.com/mjk_asd/glut3
> > and followed the README.irix6 to try to compile and install GLUT 3.7:

> > --------------------------README.irix6---------------------------------
> > BUILD INSTRUCTIONS
> > ===================

> > To build the N32 libraries, do the following:

> >   1)  Make sure you are running IRIX 6.1 or later.

> >   2)  Make sure you have the correct compiler, X11, and OpenGL
> > development
> >       environment installed for the object style library version you
> > wish
> >       to generate.

> >   3)  Run "mkmkfiles.sgi" in this directory.

> >   4)  Make sure you have built the "lib/glut" directory.  Example:

> >       (cd lib/glut; make)

> >   5)  Change to one of the N32 or N64 GLUT library directories,
> >       depending on what "object style" you wish to build:

> >       N64 (new 64-bit ABI) - "cd lib/glut.n64"
> >       N32 (new 32-bit ABI) - "cd lib/glut.n32"

> >   6)  Execute "make" in the directory.

> > INSTALLATION
> > =============

> > If you want to install the resulting archives into the right system
> > library directories, do the following:

> >      FOR N32:  cp lib/glut.n32/libglut.a /usr/lib32
> > ---------------------------------------------------------------------

> > How to install many other files(glut.h, etc.) under glut-3.7/include/
> > and glut-3.7/lib/ to the appropriate directories of former GLUT 3.6
> > located in? I need to run gcc/g++ of Gnu and cc/CC of SGI, separately.

> > BTW, what's this: glut_data-3.7.tar.gz? Thanks.

> > Best regards,

> > Weining Gu

 
 
 

1. How to install GLUT 3.7 in SGI?

I am using:

SGI Irix 6.5.7(CC 7.3 comiler)
gcc2.95.2(gcc/g++)
GLUT 3.6

I downloaded glut-3.7.tar.gz from: http://reality.sgi.com/mjk_asd/glut3
and followed the README.irix6 to try to compile and install GLUT 3.7:

--------------------------README.irix6---------------------------------
BUILD INSTRUCTIONS
===================

To build the N32 libraries, do the following:

  1)  Make sure you are running IRIX 6.1 or later.

  2)  Make sure you have the correct compiler, X11, and OpenGL
development
      environment installed for the object style library version you
wish
      to generate.

  3)  Run "mkmkfiles.sgi" in this directory.

  4)  Make sure you have built the "lib/glut" directory.  Example:

      (cd lib/glut; make)

  5)  Change to one of the N32 or N64 GLUT library directories,
      depending on what "object style" you wish to build:

      N64 (new 64-bit ABI) - "cd lib/glut.n64"
      N32 (new 32-bit ABI) - "cd lib/glut.n32"

  6)  Execute "make" in the directory.

INSTALLATION
=============

If you want to install the resulting archives into the right system
library directories, do the following:

     FOR N32:  cp lib/glut.n32/libglut.a /usr/lib32
---------------------------------------------------------------------

How to install many other files(glut.h, etc.) under glut-3.7/include/
and glut-3.7/lib/ to the appropriate directories of former GLUT 3.6
located in? I need to run gcc/g++ of Gnu and cc/CC of SGI, separately.

BTW, what's this: glut_data-3.7.tar.gz? Thanks.

Best regards,

Weining Gu

2. Talk: BMP--->ASCII converter

3. installing GLUT 3.7

4. Making points

5. help installing glut 3.7

6. 3D Paint Program...

7. GLUT 3.7 installation procedure for Unix/SGI

8. SGI n32 link error with GLUT 3.7 beta library

9. problems installing 3.7 for X

10. Installing gnuplot 3.7 on AIX

11. Compiling GLUT 3.7 for IRIX 6.5 with GCC?