Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
编译适用于iPhone SDK 4.3的ffmpeg[错误:无法创建可执行文件。]_Iphone_Objective C_Sdk_Ffmpeg - Fatal编程技术网

编译适用于iPhone SDK 4.3的ffmpeg[错误:无法创建可执行文件。]

编译适用于iPhone SDK 4.3的ffmpeg[错误:无法创建可执行文件。],iphone,objective-c,sdk,ffmpeg,Iphone,Objective C,Sdk,Ffmpeg,和其他许多人一样。。我正在使用gas预处理器编译ffmpeg 这是我的命令 ./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.

和其他许多人一样。。我正在使用gas预处理器编译ffmpeg

这是我的命令

./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk --enable-cross-compile --target-os=darwin --arch=arm7 --cpu=cortex-a8 --enable-pic
错误:

/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 is unable to create an executable file.
C compiler test failed.
我使用
Finder
查找
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/
文件夹。。 arm-apple-darwin10-gcc-4.2.1就在那里

谢谢,
苏哈斯猜测;尝试将编译器切换到llvm(而不是gas)