View Full Version : installing glut

09-23-2002, 07:40 PM
I'm useng visual studio.net and am tring to write an open gl program using glut. I have glut.h in my include file, glut.lib in the library file and glut.dll in system32 file. The C code compiles fine, but when I try to run the program I get unresulved external errors :Open GL Window error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup
,and :Open GL Window fatal error LNK1120: 1 unresolved externals. Any ideas how to fix this?

09-24-2002, 03:52 PM
i use visual c++ 6.0 and i dont know the differences between it and visual studio.net but... it sounds like you are using a win32 app and not a win32 console app. when creating your project, make it a win32 condsole app. im assuming you are calling the glut window creating functions from the main function? that requires dos thus a win32 console. or at least thats how i learned.

09-24-2002, 05:26 PM
That did it, thanks!