Author Topic: DSL Project "The application was unable to start correctly"  (Read 5974 times)

sepoto

  • Guest
I created a new SDL Project using the wizard. I specified the path to SDL as "C:\SDL-1.2.15".

The include directory and library directory I checked on the hard drive to be:
C:\SDL-1.2.15\include
C:\SDL-1.2.15\lib

I also copied the SDL.dll into C:\SDL-1.2.15\lib

Also I copied C:\SDL-1.2.15\include & C:\SDL-1.2.15\lib to C:\Program Files (x86)\CodeBlocks\MinGW\include & C:\Program Files (x86)\CodeBlocks\MinGW\lib

I build the project with the sample SDL code for windows and click the green play button to run the code and a get a message box coming up with a red error saying

"The application was unable to start correctly"

The output of the command window is:



Process returned -1073741701 (0xC000007B)   execution time : 3.072 s
Press any key to continue.


Does anyone know why this is happening?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: DSL Project "The application was unable to start correctly"
« Reply #1 on: July 10, 2013, 03:23:52 pm »
I would guess that NOT being able to read and follow directions played a part in causing the problem.

If you disagree, please post how this thread is correct for being in the section "C::B DEVELOPMENT STRICTLY!".

WARNING: Unless you are a MinGW GCC expert (or at least close to being an expert); never place files under the MinGW Compiler folder.
This can result in a MinGW Installation that does NOT work right.

Please read the Rules and FAQs or risk being banned or ignored!
http://forums.codeblocks.org/index.php/topic,9996.0.html
http://wiki.codeblocks.org/index.php?title=FAQ

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org