Problem when running my SDL game

Hi

I’ve written a game under SDL, but when I come to run it on another PC, even though I have all the DLLs I can think of, I get
"This application has failed to start because the application configuration is incorrect. Re-installing the application may fix this problem."

HELP!!! Is there anything I’ve missed? As I say, it’s on other PCs without VC++ installed, but that have the Windows re-distributable installed.

What’s going wrong?!

Thanks in advance…

Ed___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/

Hello !

I’ve written a game under SDL, but when I come to run it on another PC,
even though I have all the DLLs I can think of, I get
"This application has failed to start because the application
configuration is incorrect. Re-installing the application may fix this
problem."

HELP!!! Is there anything I’ve missed? As I say, it’s on other PCs without
VC++ installed, but that have the Windows re-distributable installed.

It would be good to know what compiler and what version of it,
what OS you used to compile it, what libs are used by your game
and on what OS you are trying to run it on.

CU

Hi Edward,
I’m going to guess that you are using MSVC++ 2005 (maybe express edition, like me, since it’s free!). The stupid thing is that MS changed the way the MSVCR80.dll gets used. It must be “installed”. If it’s not… you get that exact error - very unhelpful.

You also must have the version of the redistributable (dll) package that matches the Service Pack version of the MSVC++ that you are running. (for example, I’m running Service Pack 1 of the MSVC++ 2005, so I had to install the SP1 version of the redistributable files.)

You also must build your program in release mode, instead of debug.

I ran into the exact same situation a couple of nights ago while trying to install one of my games on my brother’s laptop… What a pain! I wish we could just copy the .dll’s into the executable’s folder like before, but alas!

Hope some of that was useful!
-Dave Olsen----- Original Message -----
From: Edward Byard
To: A list for developers using the SDL library. (includes SDL-announce)
Sent: Wednesday, June 27, 2007 1:49 PM
Subject: [SDL] Problem when running my SDL game

Hi

I’ve written a game under SDL, but when I come to run it on another PC, even though I have all the DLLs I can think of, I get
"This application has failed to start because the application configuration is incorrect. Re-installing the application may fix this problem."

HELP!!! Is there anything I’ve missed? As I say, it’s on other PCs without VC++ installed, but that have the Windows re-distributable installed.

What’s going wrong?!

Thanks in advance…

Ed


Yahoo! Answers - Get better answers from someone who knows. Try it now.



SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hello !

You also must have the version of the redistributable (dll) package that
matches the Service Pack version of the MSVC++ that you are running. (for
example, I’m running Service Pack 1 of the MSVC++ 2005, so I had to
install the SP1 version of the redistributable files.)

You may also try MinGW ( http://www.mingw.org ).
A version of GCC for Win32.

CU

Hi David

Many thanks for your reply.

My target system has MSCVR80d.dll installed - after I downloaded the re-distributable package from
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647

My developmeny systems runs VC++ Express 2005 version 8.0.5 something, with a .NET framework version 2.0.5. Where exactly do you find out which service pack of VC++ you’re running?

My app is a simple console based project, so surely I don’t require the .NET framework re-distributables!?

I had compiled it in Release mode ;-)> ----- Original Message -----

From: jolynsbass@gmail.com (David Olsen)
To: A list for developers using the SDL library. (includes SDL-announce)
Sent: Thursday, 28 June, 2007 1:58:33 AM
Subject: Re: [SDL] Problem when running my SDL game

DIV {
MARGIN:0px;}

Hi Edward,

I’m going to guess that you are using MSVC++ 2005
(maybe express edition, like me, since it’s free!). The stupid thing is that MS
changed the way the MSVCR80.dll gets used. It must be “installed”. If it’s
not… you get that exact error - very unhelpful.

You also must have the version of the
redistributable (dll) package that matches the Service Pack version of the
MSVC++ that you are running. (for example, I’m running Service Pack 1 of the
MSVC++ 2005, so I had to install the SP1 version of the redistributable
files.)

You also must build your program in release mode,
instead of debug.

I ran into the exact same situation a couple of
nights ago while trying to install one of my games on my brother’s laptop…
What a pain! I wish we could just copy the .dll’s into the executable’s folder
like before, but alas!

Hope some of that was useful!

-Dave Olsen

----- Original Message -----

From:
Edward
Byard

To: A list for developers using the SDL
library. (includes SDL-announce)

Sent: Wednesday, June 27, 2007 1:49
PM

Subject: [SDL] Problem when running my
SDL game

Hi

I’ve written a game under SDL, but when I come to run it on
another PC, even though I have all the DLLs I can think of, I get
"This
application has failed to start because the application configuration is
incorrect. Re-installing the application may fix this problem."

HELP!!!
Is there anything I’ve missed? As I say, it’s on other PCs without VC++
installed, but that have the Windows re-distributable installed.

What’s
going wrong?!

Thanks in advance…

Ed

Yahoo! Answers - Get better answers from someone who knows. Try
it now.


SDL mailing
list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

  ___________________________________________________________ 

Yahoo! Mail is the world’s favourite email. Don’t settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html

OK, I installed the .NET framework 2005 re-distributable…and still I have the same problem.

Program built in “Release” mode, and the .NET framework AND normal x86 redistributable installed on target system.

What the hell is going on?!?!

I am going crazy trying to figure this out!

Hope someone has a bright idea!

Ed> ----- Original Message -----

From: wizard@syntheticsw.com (Torsten Giebl)
To: A list for developers using the SDL library. (includes SDL-announce)
Sent: Thursday, 28 June, 2007 2:14:37 AM
Subject: Re: [SDL] Problem when running my SDL game

Hello !

You also must have the version of the redistributable (dll) package that
matches the Service Pack version of the MSVC++ that you are running. (for
example, I’m running Service Pack 1 of the MSVC++ 2005, so I had to
install the SP1 version of the redistributable files.)

You may also try MinGW ( http://www.mingw.org ).
A version of GCC for Win32.

CU


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

  ___________________________________________________________ 

Yahoo! Mail is the world’s favourite email. Don’t settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html