2007-05-14 09:55:24 +00:00
|
|
|
Notes on Using the Pre-compiled libsndfile DLL.
|
|
|
|
===============================================
|
|
|
|
|
2006-03-16 11:15:01 +00:00
|
|
|
In order to use this pre-compiled DLL with Visual Studio, you will need to
|
|
|
|
generate a .LIB file from the DLL.
|
2007-05-14 09:55:24 +00:00
|
|
|
|
2006-03-16 11:15:01 +00:00
|
|
|
This can be achieved as follows:
|
2007-05-14 09:55:24 +00:00
|
|
|
|
2006-03-16 11:15:01 +00:00
|
|
|
1) In a CMD window, change to the directory containing this file and
|
|
|
|
run the command:
|
2007-05-14 09:55:24 +00:00
|
|
|
|
2006-05-10 04:35:37 +00:00
|
|
|
lib /machine:i386 /def:libsndfile-1.def
|
2007-05-14 09:55:24 +00:00
|
|
|
|
2006-05-10 04:35:37 +00:00
|
|
|
You now have two files:
|
|
|
|
|
|
|
|
libsndfile-1.dll
|
|
|
|
libsndfile-1.lib
|
|
|
|
|
|
|
|
to be used with VisualStudio.
|
2006-03-16 11:15:01 +00:00
|
|
|
|
2006-08-10 21:18:20 +00:00
|
|
|
If the lib command fails with a command saying "'lib' is not recognized as
|
|
|
|
an internal or external command, operable program or batch file", you need
|
|
|
|
to find the location of "lib.exe" and add that directory to your PATH
|
|
|
|
environment variable.
|
|
|
|
|
2006-03-16 11:15:01 +00:00
|
|
|
If for some reason these instructions don't work for you or you are still
|
|
|
|
not able to use the libsndfile DLL with you project, please do not contact
|
|
|
|
the main author of libsndfile. Instead, join the libsndfile-users mailing
|
|
|
|
list :
|
|
|
|
|
|
|
|
http://www.mega-nerd.com/libsndfile/lists.html
|
|
|
|
|
|
|
|
and ask a question there.
|