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