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

Author Topic: Linking question  (Read 1415 times)

0 Members and 1 Guest are viewing this topic.

Nicolas

  • Newbie
  • *
  • Posts: 3
    • View Profile
Linking question
« on: March 16, 2011, 11:31:40 pm »
Hi. I am running SFML for the first time right now. I have everything installed and running a simple sf::RenderWindow properly, but I have a question:

How do I do a multi-threaded(/MT) compilation? even though i am using "sfml-system-s.lib" and so on, I am still forced to use the "Multi-threaded DLL (/MD)" runtime library...and when I try (/MT), I get all kinds of redefinition errors.

could someone clarify this issue for me?

thanks for any help.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Linking question
« Reply #1 on: March 16, 2011, 11:36:10 pm »
You can't use non-DLL C runtime. Unless you recompile SFML and all its dependencies using the same settings.

Don't fight against VC++ redistributables ;)
Laurent Gomila - SFML developer

Nicolas

  • Newbie
  • *
  • Posts: 3
    • View Profile
Linking question
« Reply #2 on: March 16, 2011, 11:40:55 pm »
Thanks =)

 

anything