Jump to content
  • Advertisement
Sign in to follow this  
catmat

OpenGL error...please help

This topic is 4514 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 everyone... i am very very new to c++ and opengl.... I tried to run a code which i got from an online tutorial.... when i run i get this error message LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/Lesson1.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. i have linked the library which are necessary. What do i do? Please help

Share this post


Link to post
Share on other sites
Advertisement
It sounds like you created a console project when you wanted to create a window project. Go to your project settings, under linker options and change the subsystem from console to windows. Alternately, you can recreate the project as a window project.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!