Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Use SFML_STATIC with /MT runtime lib linking  (Read 1173 times)

0 Members and 1 Guest are viewing this topic.

lerio

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • Email
Use SFML_STATIC with /MT runtime lib linking
« 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.

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Use SFML_STATIC with /MT runtime lib linking
« Reply #1 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?

lerio

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • Email
Re: Use SFML_STATIC with /MT runtime lib linking
« Reply #2 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.

 

anything