UNFORTUNATELY, attempting to compile fortran opengl on IRIX 6.2 fails.
These unresolved symbols are OpenGL 1.1 entry points, and we don't support 1.1 yet. It turns out that libfGL.a has 1.1 bindings, and all wrappers are in a single object file. The ramification is that calling any fGL routine pulls in wrappers for all entry points, including the the 1.1 versions of the extensions. Thus, any program which links with libfGL.a will have the unresolved symbols you encountered.
There are two possible workarounds to this problem.
setenv _RLD_ARGS -ignore_unresolved
This directory contains the GLUT distribution fortran examples programs leveraging GLUT functionality.
NOTE: ../../lib/fglut/libfglut.a in concert with ../../lib/a href="../../lib/glut/">glut/libglut.a are both employed to generate the four binaries in this directory. Hence, if you wish to copy over any specific program for the purposes of experiementation and recompilation, you'll need to either
The following fortran example programs are included in version 3.1 of GLUT:
example: An example program demonstrating GlUT callback functionality for mouse/button events and a popup menu with a roll-over submenu. (example.f) fbitfont: Renders sample text using builtin GLUT bitmap fonts. (fbitfont.f) fscene: Demonstrates the use of the GL lighting model. Objects are drawn using a red material characteristic. A single light source illuminates the objects. (fscene.f) sphere: Draws a red lit sphere. (sphere.f)