Weird SDL errors

Hello, I am making an SDL racing game, everything is going good, and when I
build and compile the game with Visual Studio 05, it works great. Now, if I
take the images/sound files, dll’s, and the exe and obj file that VS creates,
and move it to a different directory on the same machine, its works fine. If I
take that exact same folder, and send it to my laptop and try to run it, I get
this error:

“This application has failed to start because the application configuration is
incorrect. Reinnstalling the application may fix this problem.”

Can anyone help me? I have sent this to several other ppl and they get the same
problem.

Do you have the .NET runtimes installed? Besides, this is no SDL related
problem, as you might see here:
http://www.google.com/search?q="This+application+has+failed+to+start+because+the+application+configuration+is+incorrect"
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060318/523635cd/attachment.pgpOn Sat, Mar 18, 2006 at 08:50:13PM +0000, Ringo598 wrote:

“This application has failed to start because the application configuration is
incorrect. Reinnstalling the application may fix this problem.”

Can anyone help me? I have sent this to several other ppl and they get the same
problem.

Ringo8,
In order for your laptop to run it, you will have to install the VC8xxx.dll
runtime(s) onto your laptop. Yes, gone are the easy days of simply copying a
.dll into the target folder. You MUST install the .dlls, either by
installing .NET 2.0 on your laptop(or VC 05, which will do it for you), or
by creating a MSI package to do the trick. I have the same sort of setup as
you, and I was greatly dismayed to find I could no longer just copy it onto
my laptop for testing(well, now that I’ve installed VC 05 onto my laptop,
too, I can!) Anyway, it’s not too hard to create your own installer - a
google search ought to do the trick. Good luck!

this also means that distributing your game to friends/family/whoever
becomes a bigger pain, as you must have them run the installer first(make
sure you only distribute the non-debug .dlls!), then your game… Microsoft
did not do so well here, IMO

-Dave> ----- Original Message -----

From: ringo598@yahoo.ca (Ringo598)
To:
Sent: Saturday, March 18, 2006 2:50 PM
Subject: [SDL] Weird SDL errors

Hello, I am making an SDL racing game, everything is going good, and when
I
build and compile the game with Visual Studio 05, it works great. Now, if
I
take the images/sound files, dll’s, and the exe and obj file that VS
creates,
and move it to a different directory on the same machine, its works fine.
If I
take that exact same folder, and send it to my laptop and try to run it, I
get
this error:

“This application has failed to start because the application
configuration is
incorrect. Reinnstalling the application may fix this problem.”

Can anyone help me? I have sent this to several other ppl and they get
the same
problem.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

If you compile with the /MT option (Project Properties -> Configureation
Properties -> C/C++ -> Code Generation, select Multi-threaded (/MT) ) it
will statically compile the runtime files and you will not have include the
runtime dlls (so no .NET 2.0 required). Doing this, however, you lose the
dynamic feature of simply replacing a dll to update a runtime, and get a
generally larger file size.

–William> ----- Original Message -----

From: ringo598@yahoo.ca (Ringo598)
To:
Sent: Saturday, March 18, 2006 2:50 PM
Subject: [SDL] Weird SDL errors

Hello, I am making an SDL racing game, everything is going good, and when
I
build and compile the game with Visual Studio 05, it works great. Now, if
I
take the images/sound files, dll’s, and the exe and obj file that VS
creates,
and move it to a different directory on the same machine, its works fine.
If I
take that exact same folder, and send it to my laptop and try to run it, I
get
this error:

“This application has failed to start because the application
configuration is
incorrect. Reinnstalling the application may fix this problem.”

Can anyone help me? I have sent this to several other ppl and they get
the same
problem.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl