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?
Re: installing glut
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.