PortAudio

Bulding PortAudio for Windows using Microsoft Visual Studio

Compile a Program with "Release" Model

  1. Create an empty project "PA02".
  2. In "Source Files", add an "Existing Item"
  3. Configure the project properties to specify the INCLUDE directory and linking library "portaudio_x86.lib".
  4. Build and generate "PA02.EXE". This program will list all audio devices and their capacities.
  5. If you copy "PA02.EXE" (including portaudio.dll, certainly) to another PC which does not install Visual Studio, the program fails to execute because it lacks several DLL files.
  6. You need to build it in "Release" mode. Now you see another "PA02.EXE" under "source/repo/PA02/Release".
  7. Copy this file to the PC where Visual Studio is not installed, the program can run successfully. (You still need "portaudio_x86.dll", certainly.)