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

Author Topic: Static Linking Issues  (Read 1481 times)

0 Members and 1 Guest are viewing this topic.

jbernard

  • Newbie
  • *
  • Posts: 3
    • View Profile
Static Linking Issues
« 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."

iride

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • Email
Re: Static Linking Issues
« Reply #1 on: May 18, 2013, 03:47:37 am »
Maybe you aren't linking it to static libraries?
They end in -s

jbernard

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Static Linking Issues
« Reply #2 on: May 18, 2013, 04:18:56 am »
Oh I see them. You're right. The "Getting Started" should be updated.
« Last Edit: May 18, 2013, 04:21:40 am by jbernard »

iride

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • Email
Re: Static Linking Issues
« Reply #3 on: May 18, 2013, 04:51:10 am »
It's in the tutorial

jbernard

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Static Linking Issues
« Reply #4 on: May 18, 2013, 05:12:42 am »
Yeah, rechecked it, it is. I guess I should read more carefully. ;)

 

anything