Jump to content
  • Advertisement
Sign in to follow this  
keikei_c

HELP HELP HELP cannot run .exe

This topic is 4292 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've been doing this openGL project..and its been running well whenever i execute it through MVC++..however, when I run the .exe file from the debug folder, it wont run and gives an error message that it has encountered an error and it needs to close..with all the send error report thing..please help.. i thought it was all working..well, if i run it again in C++ editor, it runs okay.

Share this post


Link to post
Share on other sites
Advertisement

Perhaps you have an issue with the working folders ? the program expects to find some files from the same directory as the exe is located ? When running from the compiler the working dir is the project folder. So move your exe there and see if it works.

You could create a logging file to mark up such problems (ie. file not found etc). Screaming exe doesn't work doesn't tell us much. You have more possibilities of finding the problem.

Cheers !

Share this post


Link to post
Share on other sites
When you run a project from within the IDE, then the IDE will take care of external dependancies (e.g. specified path for lib's). If you want to run the exe, you must make sure that all the depandant files are in the same folder as the exe.

Edit: Demus was faster :)

Share this post


Link to post
Share on other sites
Yeah, make sure all of your external libraries, textures, sound files, etc are accessable from where you are running it.

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!