neru
10-02-2004, 05:11 AM
Hi,all. I downloaded some code from Nehe.
And found the following message when I link it:
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/Third.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Third.exe - 2 error(s), 0 warning(s)
I had imported opengl32.lib,glu32.lib,glut32.lib into my project.I used VC++6.0 to run the code.
What did I miss?
And found the following message when I link it:
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/Third.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Third.exe - 2 error(s), 0 warning(s)
I had imported opengl32.lib,glu32.lib,glut32.lib into my project.I used VC++6.0 to run the code.
What did I miss?