////////////////////////////////
All
Download and unpack to 'portaudio' directory.
http://files.portaudio.com/download.html
////////////////////////////////
Windows
Software:
1. Install Visual Studio
http://www.visualstudio.com/downloads/download-visual-studio-vs
Select "Visual Studio Express 2017 for Windows Desktop"
Building:
1. Open
build/windows/pd_sound_vc2017.sln with VC2017 or later
2. Select build configuration and platform
3. Build all (F7)
Running:
1. Run either from the IDE or copy files from "output_directory" to /exe/win_xXX,
where output_directory is either Release or Debug in build/windows/ or
build/windows/x64
////////////////////////////////
Linux
Software:
1. If the build fails, this might help
> sudo apt-get install build-essential
Building:
1. Enter the portaudio dir
> ./configure
> make
2. Enter the package dir build/linux/
> make all
Binaries are copied to exe/linux_x64/ on success
Running:
1. Enter the package dir exe/linux_x64/
2. Run ./pd_sound_test
////////////////////////////////
Mac
Only on Intelx64 or Arm64
Building:
1. Enter the portaudio dir
> ./configure --enable-static
> make
Static above is to avoid signing problems with the .dylib
2. Open build/mac/pd_sound.xcworkspace with Xcode 14
3. Press menu: "Product/Build For/Build For Profiling"
Running:
1. Run either from the IDE or copy files from "output_directory" to /exe/mac/
Where output_directory is some hidden directory with a 170 char name default
(You can change this in an Xcode setting "Xcode/Settings/Locations.Derived Data"
To get it in "build/mac/DerivedData" for example:
- Change it to "Relative" and "DerivedData"
- Click "advanced" and select the Custom "Relative to Derived Data").
////////////////////////////////