PDA

View Full Version : Glut and VC++



jutah
01-20-2001, 10:31 AM
Iam new to openGL and Iam tring to get some simple programs to run with glut and VC++. I included the lib glut32.lib in the link list, but when I compile I keep getting the error unresolved global symbol _winmain@16 when it tries to link?

any suggestions

thanks
jutah

01-20-2001, 10:44 AM
create the project as a console program ....

jutah
01-20-2001, 11:42 AM
Great! It kind of worked. The only problem now is that it can't find the glut32.dll. I don't know where to put the .dll file?

any suggestions

thanks
jutah

DFrey
01-20-2001, 11:48 AM
Place the glut32.dll into your Windows/System directory, or the program's working directory.

[This message has been edited by DFrey (edited 01-20-2001).]

jutah
01-20-2001, 12:05 PM
Ok I put the glut32.dll in the windows\system, but now it keeps saying that glut32.dll is linked to missing export? _glutCreateWindowWithExit?

thanks
jutah

mtrooper
01-20-2001, 02:38 PM
Ok...first, you can also create win32 app project (not console!). Then, go to project settings, linker and add after OpenGL32.lib and glu32.lib glut32.lib and you'll project shall compile (unless you've made other errors http://www.opengl.org/discussion_boards/ubb/wink.gif