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

Author Topic: The way official builds are done  (Read 891 times)

0 Members and 1 Guest are viewing this topic.

Dehumanizer

  • Newbie
  • *
  • Posts: 2
    • View Profile
The way official builds are done
« on: November 11, 2014, 07:35:47 pm »
Hello.

Every time I build SFML from sources I also need to link dependencies like opengl32, winmm etc. My question is, how official builds (from http://sfml-dev.org/download/sfml/2.1/) are built, that they don't force me to link any other library than sfml-graphics, sfml-window etc?

Thank you.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
AW: The way official builds are done
« Reply #1 on: November 11, 2014, 07:44:06 pm »
Note: This applies only to static linking.

The change was made a while ago, so it builds correctly and allows for more flexibility. The old way work by unpacking the static libraries and linking the object files directly into the libraries. This is really bad practice and can lead to different issues.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Dehumanizer

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: The way official builds are done
« Reply #2 on: November 11, 2014, 08:36:49 pm »
So, there's no nice way to integrate external dependencies with sfml lib files?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: The way official builds are done
« Reply #3 on: November 11, 2014, 08:56:05 pm »
No, because that's not how things should work. See here.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/