Jump to content
  • Advertisement
Sign in to follow this  
dogbert234

Problem with NEHE tutorial 1

This topic is 4832 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, I started learning Open GL yesterday and found these awsome nehe tutorials at gamedev. I tryed to make the first tutorial, it compiled without errors, but when I try to execute it I get "Window creation error". I'm no expert at Windows programming, but I don't see anything being wrong with the code.

Share this post


Link to post
Share on other sites
Advertisement
The first thing you should do is look into the Win32 function GetLastError() and see if you can determine why the window didn't create correctly.

Share this post


Link to post
Share on other sites
if you are starting out, may I recommend GLUT? It will allow you to begin OpenGL coding, without worrying about the many intricacies of window creation.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Quote:
Original post by WilyCoder
if you are starting out, may I recommend GLUT? It will allow you to begin OpenGL coding, without worrying about the many intricacies of window creation.


SDL is another option. Haven't used GLUT myself though.

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!