ios x264编译问题 No working C compiler found

来源:互联网 发布:mysql索引 编辑:程序博客网 时间:2024/05/22 01:37

gcc的路径换了地方/Applications/Xcode.app/Contents/Developer/usr/bin/gcc

只要改成CC=/Applications/Xcode.app/Contents/Developer/usr/bin/gcc ./configure --host=arm-apple-darwin --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk --prefix='dist' --extra-cflags='-arch armv7s' --extra-ldflags='-arch armv7s -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/lib/system' --enable-pic --enable-static

将语句中得8.4.sdk换成你现在的sdk


0 0
原创粉丝点击