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

Author Topic: Linking to static library files instead of dynamic ones  (Read 19685 times)

0 Members and 1 Guest are viewing this topic.

Daevius

  • Newbie
  • *
  • Posts: 12
    • View Profile
Linking to static library files instead of dynamic ones
« on: March 14, 2008, 07:22:59 pm »
Hi,

Can I somehow link to the static libraries instead of using .dll's?

It seems that I have to install OpenAL, or is this fixed with OpenAL soft?

Thanks,
Daevius

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Linking to static library files instead of dynamic ones
« Reply #1 on: March 15, 2008, 04:34:52 am »
Which DLLs are you talking about ? OpenAL or SFML ones ?

With the new version of SFML, you won't have to install OpenAL anymore, copying the DLL will be enough.
Laurent Gomila - SFML developer

Daevius

  • Newbie
  • *
  • Posts: 12
    • View Profile
Linking to static library files instead of dynamic ones
« Reply #2 on: March 15, 2008, 10:52:41 am »
OpenAL's DLL's and libsndfile-1.dll. I rather prefer one .exe then a whole list of DLL's with it ;).

SFML does that well with static libs too :)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Linking to static library files instead of dynamic ones
« Reply #3 on: March 15, 2008, 11:57:46 am »
OpenAL and libsdnfile are under the LGPL license, which means I can't statically link them in SFML if I want to keep my zlib/png license.
Laurent Gomila - SFML developer

TTK-Bandit

  • Newbie
  • *
  • Posts: 21
    • View Profile
Linking to static library files instead of dynamic ones
« Reply #4 on: March 15, 2008, 12:11:01 pm »
but we can link them statically if our code is published on the LGPL license, right ?
or is there maybe a problem with the zlib/png license then ?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Linking to static library files instead of dynamic ones
« Reply #5 on: March 15, 2008, 12:23:17 pm »
Quote
but we can link them statically if our code is published on the LGPL license, right ?

I'm not sure, but I guess so.

Quote
or is there maybe a problem with the zlib/png license then ?

Absolutely not, the zlib/png license has almost no restriction.
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Linking to static library files instead of dynamic ones
« Reply #6 on: December 04, 2008, 08:10:58 am »
OpenAL should be ok, but libsndfile is a little bit hard to rebuild on Windows.
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Linking to static library files instead of dynamic ones
« Reply #7 on: December 04, 2008, 08:59:36 pm »
I'll do it as soon as I can.
Laurent Gomila - SFML developer

 

anything