Originally posted by david_callaghan:
[b]I’m new to OpenGL and I am experiencing some problems.
I have created some OpenGL examples on an NT machine using MS Visual C++ and GLUT. However when I execute them on my Windows 2000 machine they bomb out.
I think it may be that the glut32.dll (GLUT 3.6) does not work with Windows 2000.
Does anyone know if there is a version of GLUT which will work on Windows 2000 platform? Can anybody offer any suggestions?
I have searched the SGI and other sites, but have not yet turned anything up.
I would really appreciate any help.
I had the same problem with Win2k and GLUT 3.7.2.
The way I fixed it was to add the *.lib
in the following order (in MS VC++ 6.0)
glut32.lib glu32.lib opengl32.lib
If that does not work try this makefile
for MS VC++ 6.0
Makefile for MS Visual C++ 6.0
CFLAGS = $(cdebug) -DWIN32 -nologo -w
#libraries to link. If need to use MUI just #add mui.lib
LIBS = glut32.lib glu32.lib opengl32.lib $(guilibs)
#Here you write the name of the executable #to be created, which is the same name
#as the source but with the .exe extension. #You can compile several programs at the #same time.
#Just type their names separated by spaces.
EXES = mesh2.exe
#Compile all that was defined in EXES
all : $(EXES)
#Compile *.c or *.cpp files and create .exe #file by linking with LIBS
$(CC) $(CFLAGS) -c $<
$(link) $(linkdebug) -nologo -out:$@ $.obj $(LIBS)
del -F *.obj *.pdb *.ilk
#Like clean but deletes executable.
del -F *.exe *.obj *.pdb *.ilk
To execute the makefile, type nmake in a console window.
I hope this helps.