problem compiling code with OpenGL calls

2005-09-17 Thread William Wallace
I trying to compile a simple .c program that I downloaded from sgi.com. I'm using the following to compile the program (works on my UNIX box...): gcc example.c -lglut -lGL -lGLU -L/usr/X11R6/lib -lX11 -lXmu -lm I get a slew of compile errors, for every OpenGL api call..For instance:

Re: problem compiling code with OpenGL calls (update)

2005-09-17 Thread William Wallace
: $example.exe -bash:example.exe: command not found. (example.exe is definately in the directory) -Scott --- William Wallace [EMAIL PROTECTED] wrote: I trying to compile a simple .c program that I downloaded from sgi.com. I'm using the following to compile the program (works on my UNIX box...): gcc

Re: problem compiling code with OpenGL calls (update)

2005-09-17 Thread William Wallace
Rookie mistake! Is this the correct forum for these types of issues? Thanks, Scott --- Christopher Faylor [EMAIL PROTECTED] wrote: On Sat, Sep 17, 2005 at 07:41:40PM -0700, William Wallace wrote: Well it looks like user error was to blame for my compile problems. After a couple