[SDL] Error executing SDL program
David Olsen
jolynsbass at gmail.com
Mon Sep 4 10:51:42 PDT 2006
The Express Editions use MSVC 8 run time dll's which cannot be simply copied
to the target machine. You must install them(the dll's) - yes it's dumb. I
think there might be a way to copy the program over w/o installing them, but
it's weird and I haven't tested it. Bottom line : It's a known issue that
you can't just copy an executable to another computer and have it run...
(Well, you *can* if you aren't using the DLL style of code generation, but
since SDL does... you'd have to do a static compile of SDL into your app or
something weird like that. Probably would be less work just to install the
MSVCR8 run times onto the target machine.)
I don't know if that actually helped or not. Hope it did.
-Dave
From: "MrX" <wjozefow at th.if.uj.edu.pl>
To: <sdl at libsdl.org>
Sent: Monday, September 04, 2006 11:11 AM
Subject: [SDL] Error executing SDL program
> I've compiled and linked successfully SDL aplication and it works ... but
> only
> on my machine. On the other one I got a message "Error executing program"
>
> My SDL application was compiled with Visual Studio Express and it uses
> only
> gl (openGL), glu and SDL. The other machine where I tried to run it is
> able to
> handle OpenGL and glu because I tested it with a glut program which needed
> just
> glut32.dll to run properly (and of course OpenGL32.dll and glu32.dll but
> they
> are provided with the system itself).
>
> Per analogy I expected that with SDL application it will be the same:
> SDL.dll
> and it runs ... but no it doesn't - "Error executing program" with and
> without
> SDL.dll
>
> Can anybody tell me what it needs or how I should create exe to have it
> running
> on the other machines ?
>
>
>
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
More information about the SDL
mailing list