SFML community forums

Help => General => Topic started by: Nicolas on March 16, 2011, 11:31:40 pm

Title: Linking question
Post by: Nicolas 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.
Title: Linking question
Post by: Laurent 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 ;)
Title: Linking question
Post by: Nicolas on March 16, 2011, 11:40:55 pm
Thanks =)