To get it building on OSX 10.8 with Xcode 4.5 I had to:
add:
if [ -d "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" ]; then
osx_sdk_dir="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk"
fi
To of libvpx-v1.0.0/build/make/configure.sh
Change the includes in libvpx-v1.0.0/build/make/gen_asm_deps.sh to:
To get it building on OSX 10.8 with Xcode 4.5 I had to:
add:
if [ -d "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" ]; then osx_sdk_dir="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" fi
To of libvpx-v1.0.0/build/make/configure.sh
Change the includes in libvpx-v1.0.0/build/make/gen_asm_deps.sh to:
includes=$(LCALL=C egrep -i "include +\"[a-z0-9/]+.${sfx}" $srcfile |
Get the latest libyasm and install it.
And add --cc=clang to the ffmpeg configure line in build.sh