Languages: 🇯🇵
Clone or git submodule add
this repo, or just download build_portaudio_win.ps1
.
Then, all you have to do is just to execute the script. ASIO & WASAPI are enabled by default in Windows.
.\build_portaudio_win.ps1
And copy the built library files (static library / DLL) to your project.
Copy-Item portaudio_build\Release\portaudio_x64.dll $USERPROFILE\path\to\your\project\build\Release\
- Visual C++ 2019 or 2017 (only in Windows)
- CMake 3.13+ (what is bundled in Visual Studio 2019 is acceptable)
- Ninja (what is bundled in VS is acceptable; optional)
- WintellectPowerShell (only in Windows)
Name | Description |
---|---|
-DebugBuild |
Builds for debug. |
-PrefersNinja |
Builds using Ninja instead of MSBuild (Make in non-Windows). |
-DownloadOnly |
Just downloads, doesn't build. |
You can build PortAudio by this script even in Linux (or macOS) if you install PowerShell 6+. You can install it to Linux by:
sudo snap install --classic powershell
After installation, execute this script by:
pwsh ./build_portaudio_win.ps1
MIT