10-24-2004, 11:30 AM
i get this link error
inking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/ktm rockets.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
but if i change the source file and compile let's say
a .cpp file by NeHe the problem doesn't happen under the same project
the code with the problem is from the red book the first example!
i have linked all the libraries from project/settings correctly
i have tried placing glut.dll into the same directory with the project but nothing
please help...
it doesn't make sense since i've managed to compile
this file someday but now sth goes wrong.i'm using windows xp
inking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/ktm rockets.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
but if i change the source file and compile let's say
a .cpp file by NeHe the problem doesn't happen under the same project
the code with the problem is from the red book the first example!
i have linked all the libraries from project/settings correctly
i have tried placing glut.dll into the same directory with the project but nothing
please help...
it doesn't make sense since i've managed to compile
this file someday but now sth goes wrong.i'm using windows xp