Hello, I am new to open gl and I am trying to make a very simple program but I keep getting this error:
Linking…
LINK : fatal error LNK1104: cannot open file “glut32.lib”
Error executing link.exe.
test.exe - 1 error(s), 0 warning(s)
Can anyone help?
Thanks
system
September 19, 2000, 12:02pm
2
assuming you have glut32.lib you have to put it in a directory that vc++ will find it
what I usually do is put it in
c:\usr\lib…
and then go to (in vc)
tool->options->Directories tab->Library files combo selection and add c:\usr\lib\ to it
while you are at it I usually put opengl32.lib and glu32.lib in there too
and I also add a directory for executable files c:\usr\bin\
and put the opengl/glut dll’s in there and
I add a directory for header files (include)
at c:\usr\include\
and put gl/glut.h in there
hope this helps
I don’t think I have glut32.lib, where can I get it?
system
September 19, 2000, 12:44pm
4
Ok I got them, but now I get this:
Linking…
C:\Program Files\DevStudio\VC\LIB\glut32.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x3924edc9
Error executing link.exe.
test.exe - 1 error(s), 0 warning(s)
any ideas?
system
September 19, 2000, 12:54pm
7
sorry, where did you get the .lib it may be damaged
I’m using VC++ 5.0, I got it from the link you posted
system
September 19, 2000, 1:04pm
9
this one
[http://www.xmission.com/~nate/glut/glut-3.7.2-dlls.zip](http://www.xmission.com/~nate/glut/glut-3.7.2-dlls.zip)
system
September 19, 2000, 1:06pm
10
that last one worked! thanks for the help!
system
September 19, 2000, 1:12pm
12
sorry about the bad link earlier
Have fun