PDA

View Full Version : help!!!- Visual C++ and opengl



zeytin
02-15-2009, 06:45 PM
hey,

i have a damn problem and i cannot solve it, i wanted to check some sample codes for opengl, there are lots of tutorials and sample codes, but i only can execute one of them, and for the others, there is an error occurs;
----error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
---fatal error LNK1120: 1 unresolved externals

and i cannot find the reason, can anybody please tell me why it happens?

Abdallah DIB
02-16-2009, 02:27 AM
link ur prokject to sdlmain.lib and sdl.lib