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

Author Topic: [SFML 2] Linux not needing "openal32.dll"?  (Read 3037 times)

0 Members and 2 Guests are viewing this topic.

Symphonym

  • Newbie
  • *
  • Posts: 32
    • View Profile
[SFML 2] Linux not needing "openal32.dll"?
« on: March 13, 2013, 07:11:29 pm »
So I recently tried playing a few test sounds with SFML on Linux and one thing boggles
my mind. That (unlike SFML on Windows 7) it dosen't throw an error message in the style of
"openal32.dll is missing from your computer". Which could then be found in the "extlibs" folder
in the directory where I've built my SFML files. But here on Linux I have the "extlibs" folder as well,
but I don't have need of "libsndfile-1.dll" nor "openal32.dll", why?

I would assume that they're already installed on my computer somewhere, and it then finds those
files when running. However, isn't ".dll" a "Windows only thing"? As far as I know Linux uses .a and .so
as library extensions. And Windows is using .lib files to import the libraries during compile time, and then on
run-time it needs the .dll files in the same directory as the .exe (And the .lib files are at this point not needed?)?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: [SFML 2] Linux not needing "openal32.dll"?
« Reply #1 on: March 13, 2013, 07:35:54 pm »
Yes, .dll files are only for Windows.

On Linux, since shared libraries are very well managed and easy to install, it's up to the user to have all the dependencies installed (most of them are standard and most likely already installed).
Laurent Gomila - SFML developer

 

anything