Trouble Using GLUT

I am a first time user of GLUT. I am working with VC++ 6.0 and when I compile I get the following error

main.obj : error LNK2001: unresolved external symbol ___glutInitWithExit@12

My link settings look as follows:
opengl32.lib glut32.lib glu32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /incremental:yes /pdb:“Debug/asst1.pdb” /debug /machine:I386 /out:“Debug/asst1.exe” /pdbtype:sept

can anyone help.

Thanks

Is your project a WIN32 application and not a WIN32 CONSOLE application??

I had this problem as well and found that i was using the console and not just the app…

Hope it works
-PG

Originally posted by dwilliams:
[b]I am a first time user of GLUT. I am working with VC++ 6.0 and when I compile I get the following error

main.obj : error LNK2001: unresolved external symbol ___glutInitWithExit@12

My link settings look as follows:
opengl32.lib glut32.lib glu32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /incremental:yes /pdb:“Debug/asst1.pdb” /debug /machine:I386 /out:“Debug/asst1.exe” /pdbtype:sept

can anyone help.

Thanks[/b]