SFML community forums

Help => General => Topic started by: jbernard on May 18, 2013, 02:41:20 am

Title: Static Linking Issues
Post by: jbernard on May 18, 2013, 02:41:20 am
Using Code::Blocks/MinGW. I can't seem to static link to SFML 2.0.

I went through the "Getting Started" tutorial and even tried rebuilding SFML 2.0;

"SFML_STATIC" is defined in Build Options->#defines.

Yet, when I run my executable, I still receive the "sfml-graphics-2.dll is missing."
Title: Re: Static Linking Issues
Post by: iride on May 18, 2013, 03:47:37 am
Maybe you aren't linking it to static libraries?
They end in -s
Title: Re: Static Linking Issues
Post by: jbernard on May 18, 2013, 04:18:56 am
Oh I see them. You're right. The "Getting Started" should be updated.
Title: Re: Static Linking Issues
Post by: iride on May 18, 2013, 04:51:10 am
It's in the tutorial
Title: Re: Static Linking Issues
Post by: jbernard on May 18, 2013, 05:12:42 am
Yeah, rechecked it, it is. I guess I should read more carefully. ;)