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

Author Topic: How do I use /MT?  (Read 1734 times)

0 Members and 1 Guest are viewing this topic.

Fierce_Dutch

  • Full Member
  • ***
  • Posts: 138
    • View Profile
How do I use /MT?
« on: December 19, 2010, 06:03:24 am »
Ok well I am using sfml static libraries and I want to statically include the dll's needed for my program. But whenver is set /MT it gives me a load of linker errors.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
How do I use /MT?
« Reply #1 on: December 19, 2010, 08:27:58 am »
You have to recompile all your dependencies with /MT, which means SFML and all its dependencies as well (libjpeg, libsndfile, ...).
Laurent Gomila - SFML developer

Fierce_Dutch

  • Full Member
  • ***
  • Posts: 138
    • View Profile
How do I use /MT?
« Reply #2 on: December 19, 2010, 08:35:09 am »
Quote from: "Laurent"
You have to recompile all your dependencies with /MT, which means SFML and all its dependencies as well (libjpeg, libsndfile, ...).


So can i just compile a project with cmake and do that? to all the projects in there?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
How do I use /MT?
« Reply #3 on: December 19, 2010, 08:36:21 am »
The SFML dependencies are not handled by my CMake setup, they are precompiled. So you'll have to download them, set them up and recompile all by yourself.
Laurent Gomila - SFML developer