Recommended Posts

I'm trying to create a demo which will not require additional dependencies on target machines, as I assume trying to get the Visual C++ 2008 Runtime files installed will be a nightmare for HR types and such, with regards to having install permissions.
I've read several threads regarding this issue, but following the advice given, I just couldn't get the program to compile. I've created an SDL program, and trying to compile as Multi-threaded (/MT) rather than Multi-threaded DLL gives a slew of linker errors:

Share this post

Link to post

Share on other sites

With regard to VC++ 2008 dependancies, it should just be a case of having the correct runtime dll in the same folder as the exe. You shouldn't be required to install that package on a machine to run your app. 'msvcr90.dll' I think is the right one.

Share this post

Link to post

Share on other sites

Yeah, I'm not 100% sure but I think there's issues with the license agreement in doing that. The redist.txt says this:

"For your convenience, we have provided the following folders for use when redistributing VC++ runtime files. Subject to the license terms for the software, you may redistribute the folder (unmodified) in the application local folder as a sub-folder with no change to the folder name. You may also redistribute all the files (*.dll and *.manifest) within a folder, listed below the folder for your convenience, as an entire set. "

...from which I take that if I dump all the files into a zip with my app. that should be fine?

0

Share this post

Link to post

Share on other sites

Aye, reading up on it (it seems I've been breaking the rules for a LONG time [smile]), it seems you can just include the correct folder in the folder your app is in. You will need to make a manifest file though I believe.

Share this post

Link to post

Share on other sites

I'm not sure if you're going to be able to get away with not using Multithreaded DLL, at least not without recompiling SDL against Multithreaded (no idea how good an idea that is). It's not looking like it's going to work tbh.