annotate src/libsndfile-1.0.27/Win32/README-precompiled-dll.txt @ 78:7ea7031c0e5c pa_catalina

Apply patch from Tim Bunnell on PortAudio mailing list (2016-12-28, Mac 10.11 deprecation warning)
author Chris Cannam
date Wed, 30 Oct 2019 11:28:45 +0000
parents 1df64224f5ac
children
rev   line source
Chris@40 1 Notes on Using the Pre-compiled libsndfile DLL.
Chris@40 2 ===============================================
Chris@40 3
Chris@40 4 In order to use this pre-compiled DLL with Visual Studio, you will need to
Chris@40 5 generate a .LIB file from the DLL.
Chris@40 6
Chris@40 7 This can be achieved as follows:
Chris@40 8
Chris@40 9 1) In a CMD window, change to the directory containing this file and
Chris@40 10 run the command:
Chris@40 11
Chris@40 12 lib /machine:i386 /def:libsndfile-1.def
Chris@40 13
Chris@40 14 You now have two files:
Chris@40 15
Chris@40 16 libsndfile-1.dll
Chris@40 17 libsndfile-1.lib
Chris@40 18
Chris@40 19 to be used with VisualStudio.
Chris@40 20
Chris@40 21 If the lib command fails with a command saying "'lib' is not recognized as
Chris@40 22 an internal or external command, operable program or batch file", you need
Chris@40 23 to find the location of "lib.exe" and add that directory to your PATH
Chris@40 24 environment variable. Another alternative is to use the "Visual Studio 2005
Chris@40 25 Command Prompt" Start menu item:
Chris@40 26
Chris@40 27 Start ->
Chris@40 28 All Programs ->
Chris@40 29 Visual Studio 2005 ->
Chris@40 30 Visual Studio Tools ->
Chris@40 31 Visual Studio 2005 Command Prompt
Chris@40 32
Chris@40 33 If for some reason these instructions don't work for you or you are still
Chris@40 34 not able to use the libsndfile DLL with you project, please do not contact
Chris@40 35 the main author of libsndfile. Instead, join the libsndfile-users mailing
Chris@40 36 list :
Chris@40 37
Chris@40 38 http://www.mega-nerd.com/libsndfile/lists.html
Chris@40 39
Chris@40 40 and ask a question there.