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

Author Topic: Problem with static linking SFML 2.5.0  (Read 1435 times)

0 Members and 1 Guest are viewing this topic.

Thorus331

  • Newbie
  • *
  • Posts: 1
    • View Profile
Problem with static linking SFML 2.5.0
« on: July 18, 2018, 07:31:48 am »
So I have problem with static linking SFML 2.5.0...

I'm using Visual Studio 2017, Windows 8.1

Yes, I have SFML_STATIC in Preprocessor Definitions:
(click to show/hide)

Yes, I'm linking Additional Include Directories to \include:
(click to show/hide)

Yes, I'm linking Additional Library Directories to \lib:
(click to show/hide)

Yes, I've downloaded 64x bit SFML and building my program on 64x bit configuration.

My Additional Dependencies for debug configuration:
(I tried like 20 other combinations, still same error)
(click to show/hide)

And for release same as for debug but wihout -d prefix...

The error I get:
(click to show/hide)

Code I'm testing (this one from tutorial):
(click to show/hide)

Help :(

fallahn

  • Hero Member
  • *****
  • Posts: 507
  • Buns.
    • View Profile
    • Trederia
Re: Problem with static linking SFML 2.5.0
« Reply #1 on: July 18, 2018, 10:26:54 am »
If I remember correctly this is due to a mismatch in visual studio versions. Most likely the binaries on the sfml site were built with a slightly different version to what you have installed (ie 17.4 vs 17.5). Make sure your version is fully up to date and if all else fails build sfml from source using your own copy of visual studio

 

anything