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

Author Topic: Linking dependencies  (Read 61587 times)

0 Members and 1 Guest are viewing this topic.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Linking dependencies
« Reply #75 on: November 05, 2013, 03:32:47 pm »
Nice, thank you! I have used SFML_DEPENDENCIES in Thor, and at least on Windows (Visual Studio + MinGW) it worked :)
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10800
    • View Profile
    • development blog
    • Email
Re: Linking dependencies
« Reply #76 on: November 05, 2013, 04:30:18 pm »
Yay! ;D

Would it be possible to adjust CSFML as well, or does that work out of the box?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Linking dependencies
« Reply #77 on: November 05, 2013, 04:33:37 pm »
CSFML is already adjusted, since it was my test case.
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10800
    • View Profile
    • development blog
    • Email
Re: Linking dependencies
« Reply #78 on: November 05, 2013, 04:41:12 pm »
Oh my fault, I was sure, I had CSFML on my GitHub watch list, seems like I didn't. :)

Cool! So I'll look into pushing out a complete set of Nightly Builds "soon".
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Re: Linking dependencies
« Reply #79 on: November 05, 2013, 09:26:04 pm »
So how does this work in detail now? My proposal would have been to provide an option for disabling looking for dependencies completely. If the option is not given, SFML tries to satisfy them, which is also the default.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Linking dependencies
« Reply #80 on: November 05, 2013, 10:07:54 pm »
In case of static link, SFML tries to locate the libraries it depends on, in standard paths and in ${SFML_ROOT}/lib (i.e. the same search paths as for the SFML libraries themselves).

If they are found, they are added to ${SFML_DEPENDENCIES} and ${SFML_XXX_DEPENDENCIES}, where XXX is the name of the corresponding module.

If one or more are not found, the expected behaviour is triggered (fatal error if REQUIRED, nothing if QUIET, information message otherwise).

I haven't really thought about customization yet, so suggestions are welcome ;)

Laurent Gomila - SFML developer

c0d3r9

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Linking dependencies
« Reply #81 on: February 06, 2018, 02:19:56 am »
Sorry that i grab out this old thread.
Have anybody a list of the libs how i have to add?

I try it with codelite with self maked sfml but it seems the list is not correct filled.

edit: all fine....only a little bit honey in my head
« Last Edit: February 06, 2018, 10:06:26 pm by c0d3r9 »