SFML community forums

Help => General => Topic started by: Ophi on May 25, 2015, 01:31:05 pm

Title: SFML Link Error
Post by: Ophi on May 25, 2015, 01:31:05 pm
Hello. I created a thread on http://www.cplusplus.com/forum/general/165826/ (http://www.cplusplus.com/forum/general/165826/). A user suggested I create a post here to get help from individuals who may be more knowledgeable in SFML, so here I am.

I thank you in advance for all and any help. :)
Title: AW: SFML Link Error
Post by: eXpl0it3r on May 25, 2015, 02:52:57 pm
You want to link dynamically use no suffix for release builds and the -d suffix for the debug libs. Also do not define SFML_STATIC, that's what most likely caused the issue in the first place.

If you want to link statically you need to use the -s suffix for release libs and -s-d for debug. And for static you need to define SFML_STATIC.

Read the official tutorial carefully, everything is explained there.