SFML community forums

Help => General => Topic started by: lerio on August 27, 2014, 08:33:47 pm

Title: Use SFML_STATIC with /MT runtime lib linking
Post by: lerio on August 27, 2014, 08:33:47 pm
Hello!
I'm making a megaman-like platformer game. It's all doing fine, i have sprites animations, collisions and projectiles and coordinates.
I'm really enjoying SFML!

I'm using visual studio 2012 and everything looks fine...but...

Well, problem is, that when i send the game for my friends to test, they usually miss the MSVCP110.dll because they don't have the C++ redistributable package.

I would like to know if there is any way that i can include the dll to my ".EXE" with "Multi-Thread DLL (/MT)", and still use the static dll's from SFML. i have conflicts when i try to build with the static dll, but it runs fine without it.
Title: Re: Use SFML_STATIC with /MT runtime lib linking
Post by: Jesper Juhl on August 27, 2014, 08:41:44 pm
Not what you asked, but an alternative: why don't you simply distribute the visual studio distributable runtime installer along with your application?
Title: Re: Use SFML_STATIC with /MT runtime lib linking
Post by: lerio on August 27, 2014, 10:19:05 pm
I could do that in a final release version, but for now, its just for my friends to test an simple executable.

But well.... if there's no alteranative, i can send them the redist installer.
Thank you.