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

Author Topic: Vs2005 SP1 Deployment Problem  (Read 8207 times)

0 Members and 1 Guest are viewing this topic.

DarkScythe

  • Newbie
  • *
  • Posts: 3
    • View Profile
Vs2005 SP1 Deployment Problem
« on: September 07, 2007, 08:50:24 am »
Is it a must to install "2005 SP1 Redistributable Package", since my apps. wont work on machines without it?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Vs2005 SP1 Deployment Problem
« Reply #1 on: September 07, 2007, 09:23:22 am »
Yes, it is needed for people who don't have Visual Studio installed.
Laurent Gomila - SFML developer

ExcessNeo

  • Newbie
  • *
  • Posts: 16
    • View Profile
Vs2005 SP1 Deployment Problem
« Reply #2 on: September 07, 2007, 11:17:13 pm »
Or in Project Properties -> C/C++ -> Code generation; change the Runtime library to one of the non DLL settings for the right build type (Debug (Multi-Threaded Debug (/MTd)) and Release (Multi-Threaded (/MT)).

That saves the including of a redistribution, but increases the size of your build.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Vs2005 SP1 Deployment Problem
« Reply #3 on: September 08, 2007, 09:45:11 am »
No, you really need to use the CRT as a DLL, as all the SFML libraries use it (and you can't mix different CRTs).
Laurent Gomila - SFML developer

dunce

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Vs2005 SP1 Deployment Problem
« Reply #4 on: September 20, 2007, 04:58:50 am »
I got rid of need for distributing vc8 runtime dlls by re-building all static libraries that sfml uses with static linking to the runtime libs. Now to run my app on another PC that has no vc8 installed I just copy it to that PC. The application size increased but not so dramatically.