Advertisement Jump to content
Sign in to follow this  
dogbert234

Problem with NEHE tutorial 1

This topic is 4899 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.

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!