PDA

View Full Version : I NEED help with glut and MSVC++ 4.0



06-11-2000, 12:28 AM
I use MSVC++ 4.0 and always when I try to build a GLUT program I get this message:

LIBC.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16

I get this even when I try to build a sample from a tutorial or from C++ HELP so it's not the source code which causes the problem.PLS,help me!

AndersO
06-11-2000, 03:11 AM
Try make a console application instead of a win32 application.

nexusone
06-11-2000, 06:14 PM
Try this:
Open a new project directory with nothing in it. Open the project as a windows application.
Then add your source files. Note make sure the project has the same name as the program.

I have MSVC++ 4.0, some of the example files all you need to do is make sure you have all the gl lib files listed in the link menu.