allen_dog
02-01-2004, 02:23 AM
/////////////////////////////////////////////
#include <GL/glut.h>
#include <stdlib.h>
void main()
{
}
I can not tell , so simple code can not be builded! and the error:
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/test_2.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
test_2.exe - 2 error(s), 0 warning(s)
Could you help me my friends.Thanks
#include <GL/glut.h>
#include <stdlib.h>
void main()
{
}
I can not tell , so simple code can not be builded! and the error:
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/test_2.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
test_2.exe - 2 error(s), 0 warning(s)
Could you help me my friends.Thanks