Sign in to follow this  

HELP HELP HELP cannot run .exe

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this