I am using MS visual C++ that contains gl.h, glu.h, glu32.lib, glaux.h, opengl32.lib, glu32.dll, and opengl32.dll at the respective include, lib, windows/system folders. Downloaded and copied to the folders above are glut.h, glut32.lib, glut32.dll, ver3.7.6.
At MS Visual C++:
- create empty, win32 application, not using MFC, file and add this to project.
- Put at the top:
with simple program.
- compile - No error
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/3_dots.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
3_dots.exe - 2 error(s), 0 warning(s)
- Add to object/libraries module list at setting: glu32.lib glut32.lib opengl32.lib
No change: errors as in step4
What was wrong as how to make it right?
Thank you in advance.
[This message has been edited by jovialone (edited 09-07-2002).]