• Advertisement
Sign in to follow this  

Visual c++ & OpenGL

This topic is 4577 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

i am following Nehe's OpenGL tutorial with Visual c++ 6.0, and the weirdest thing happened. i added a class to basically draw a retangle in the screen and depending on the parameter, use one texture or the other, on the Lesson 1 code. now, for some reason, the window only initializes when running from the compiler. If i go to the .exe file, it shows the usual messege "fullscreen y/n?", tries to create the window, then shows the message "Initialization Failed". Hows that possible? it runs perfectly from the compiler.

Share this post


Link to post
Share on other sites
Advertisement
Make sure there is a copy of the texture in the directory that the .exe is in - when you run it from debug it uses the directory the project is located in, not one of the bins. Can be confusing at first. Its a pretty bad compiler, you should consider upgrading it :P

* Mushu just upgraded from 6 like, last week and Beta2 is awesome *

Share this post


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

  • Advertisement