Jump to content
  • Advertisement
Sign in to follow this  
Sabonis

OpenGL Using openGL with Visual C++ 6.0

This topic is 4339 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there, I am having trouble compiling my openGL program, I keep getting an unresolved external symbol error when linking. Linking... LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16 Debug/test1.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. test1.exe - 2 error(s), 0 warning(s) I just installed the glut package but I'm not sure what is wrong. My directories are set right and I have put this under project settings ->link glut32.lib OpenGL32.lib GLu32.lib GLaux.lib can anyone help me get up and running?? Thanks

Share this post


Link to post
Share on other sites
Advertisement
VC6 is just about a decade old, and is pretty junky. You'd do good to not ever use it again. VC8 has been out for just over a year and is far, far superior, plus you can get the express edition for free from microsoft.

Share this post


Link to post
Share on other sites
do you have the WinMain function in your source code ??

I use the VC++ 6 ( yes i know its old...) & OpenGL and it works !
I only had to take care of some redefinitions ( i had to had some /nodefaultlib:"libc" or /nodefaultlib:"libcmt", i dont remember..)

Share this post


Link to post
Share on other sites
If you're using GLUT, you probably want a console application, not a Win32 one. (Should be an option when you create a new project, select 'console application'.)


PS: You really should grab 2005 Express, it'll save you a lot of hassles.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!