SFML community forums
Help => Audio => Topic started by: newn on August 24, 2010, 10:24:42 am
-
Hi everyone. I was required .dll file after compiling a project with a sound file. Then i've found out, that it's that library's file, so i needed to install it. I've downloaded the x32 version, copied the .lib file into lib folder of Visual Studio 2010, and copied the .h file into include folder. Restarted VS, included libsdnfile-1.lib (triple checked the name), and it still requires the .dll file. What's wrong with that thing? I even tried the example project, from their installation, same thing.
-
All you have to do is to copy this DLL in the same directory as your executable. You can find it in the "extlibs" folder of the SFML SDK.
-
So basically i'll have to copy the .dll file, every time i will use this library? :/ I mean, it cannot be static, as SFML is?
-
So basically i'll have to copy the .dll file, every time i will use this library?
You can put it in a directory which is contained in the PATH environment variable, so that Windows will always be able to find it.
I mean, it cannot be static, as SFML is?
No, because of its license (LGPL).
-
Oh, okay.
Thanks for the answer. Seems like everything works perfectly fine. Great library. ;)