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

Author Topic: Static SFML on Visual Studio  (Read 888 times)

0 Members and 1 Guest are viewing this topic.

gravo99

  • Newbie
  • *
  • Posts: 2
    • View Profile
Static SFML on Visual Studio
« on: September 04, 2018, 05:39:52 pm »
Hi!
I'm posting this, because I didn't find, that anyone had the exact problem.
I have strange errors, when compiling sfml project on visual statically.
Everything works fine for dynamic compilation.

SFML version: 2.5.0 for Visual C++ 15 (2017) - 32-bit
Visual Studio Version: 15.8.2

Errors:
(click to show/hide)

I've tried to change order of dependencies, but but this looks to be the best option. Problem occurs only, when using classes from/that depends on window module.

« Last Edit: September 04, 2018, 06:51:04 pm by eXpl0it3r »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: Static SFML on Visual Studio
« Reply #1 on: September 04, 2018, 06:55:02 pm »
You deleted the additional dependencies which are listed by default. I believe you can simply check the following checkbox and it should find them.

Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

gravo99

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Static SFML on Visual Studio
« Reply #2 on: September 04, 2018, 07:17:36 pm »
It was that! Thanks a lot. Do you have actually any idea, which of these dependencies are necessery? I'd like to get rid of the rest. There should be also information in tutorial.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: Static SFML on Visual Studio
« Reply #3 on: September 04, 2018, 08:04:45 pm »
They are all required, thus they are there by default. Well the check box is ticked by default and the tutorial doesn't mention that you should remove it, sooo... ::)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything