[SDL] Building against a specific MS runtime version
felipe.otamendi at gmail.com
Fri Dec 24 09:44:35 PST 2010
Make sure to compile your program and all its dependencies with the same
runtime (Multi threaded or single threaded dll's) and also to do it in
release mode. Check your program's dependencies in the target computer with
something like dependency walker or pe-explorer. Maybe some static lib or
dll you are using is linked to a debug runtime dll you are not including, it
happened to me once.
You could also try to use MingW to compile everything. If your project is
small it would be fairly easy to set up using Code::Blocks.
On Fri, Dec 24, 2010 at 1:31 PM, ebyard <e_byard at yahoo.co.uk> wrote:
> Thanks for the post but I already tried that, and it doesn't work. I have
> tried just the DLLs in my application folder, also the
> x86_microsoft.............. file and mainfests/security catalog files etc.
> Nothing works.
> Why you cannot just link against this version of the runtimes you want, I
> do not know. It's a massive problem by the looks of it (on google) and it's
> actually going to cost me a significant amount of time and money to fix.
> It's annoying as SDL 1.2 seems to work OK, but I didn't build the libraries
> for that.
> SDL mailing list
> SDL at lists.libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL