Sign in to follow this  
Aldrich

How do you create working Stand Alone EXE on Eclipse/MinGW?

Recommended Posts

Hi Everyone, I am currently running C++ (MinGW compiler) + Eclipse Gallileo IDE and working with SDL. I have already set the Run Configurations to Release and have input the proper libraries (MinGW32, SDLmain, SDL), but whenever I double click on the resulting EXE file, I get a windows error. The same thing happens when I try double clicking the Debug EXE file. The program itself runs fine within the confines of the IDE. Any suggestions on how to get a working EXE will be greatly appreciated :) (I figured I'd post here first as opposed to the Alternate Libraries forum since I am a beginner :) )

Share this post


Link to post
Share on other sites
Update:

I made a silly mistake of leaving out the critical line: "SDL_Init (SDL_INIT_VIDEO);". Oddly enough it worked while in the IDE. Now whenever I run the EXE files in Release or Debug folders, I see a window flicker and then disappear. And there are no more Windows Errors!

I am probably doing something really wrong or expecting something from somewhere else.

I want to be able to do is release a unfinished versions of my game whenever to show other people.

Share this post


Link to post
Share on other sites

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