I have typed out a rather large file in C code that is defining OpenGL graphics and will draw a triangle on the screen. While I know all of the functions of the X Windowing System, I do not know how to compile the program on an IRIX system...
I want to see the limits of this computer, and I am prepared to program a whole OpenGL application if that is what it takes...
How do I create a "make" file and how do I include any files?Do I just do the standard
#include <GL/gl.h> #include <GL/glu.h>#include <GL/glx.h>#include <X11/Xlib.h>#include <X11/Xutil.h>
includes, or do I need something else? I have a full install of IRIX ready for use.
have learned the C programming language and have programmed several projects in OpenGL Fixed Function Pipeline and Programmable Pipeline in many different languages.
I installed IRIX version 6.5, which was released in, I believe, 2003, so the OpenGL pipeline is still Fixed Function (the programmable pipeline not actually being available until 2.0, and being mandatory at version 3.0).
The question in a nutshell is:1) How do I create a make file for an IRIX shell.2) Where are the files that I have above at in the computer?3) Do I have to specify anything else such as environment variables, or is that done in the makefile?4) Is there anything else I am missing from the files?
I have some documentation that I have been reading, but it is not clear about if I should set any variables to include any of these files, or if I have to download any SDKs. While I do have netboot, it is annoying to deal with, and has a very high chance of not working.
Thanks!
-rjhwinner03