Did anyone manage to build the latest stable version from PortAudio (v19 20140130) on OS-X 10.9 - MAC Maverick?
I am new both to MAC and to PortAudio, but did follow all instructions and received many errors during the build, some of them very basic (for example - file 'assert.h' was not found). My assumption is that MAC SDK version might be different from what PortAudio was expecting.
I am actually interested in the output binaries of the build - both x86 and x64, so if these could be downloaded from somewhere this also could be a solution.
Many thanks for any tip, PazO
PortAudio for MAC Mavericks
266 views Asked by PazO At
        	1
        	
        
	
                        
Problem resolved
Background:
In order to build
PortAudioon MAC you need to run two commands:configureandmake. This procedure is fully described here.The first command -
configure- suppose to build your Makefile file, enabling the next command -make- to work correctly.One of the tasks of
configureis to discover what MacOS-SDK version is installed on your system and what is the full path to it.The problem:
The problem was that the
configurescript did not find the correct version of MacOS-SDK that is insalled on my Maverick system and thus made the next command -make- to fail.The fix:
In the
configure.infile there is a section that tries to discover what is the version and location of the MacOS SDK that is installed on the local system. Once discovered it will put the correct values into the local script variablesmac_version_minandmac_sysroot.Since this code was not working correctly I replaced it with the next two 'hard-coded' lines:
mac_version_min="-mmacosx-version-min=10.8"mac_sysroot="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"After this all was building correctly.
PazO