开发者

FFMPEG iPhone using gas-preprocessor

I got the latest version of FFMPEG and gas-preprocessor, and i am trying to build them libraries for iPhone. I put the gas-preprocessor.pl file in my usr/bin folder, and try to configure my ffmpeg with this command.

./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk --enable-cross-compile --target-os=darwin --arch=arm --cpu=cortex-a8 --enable-pic

But what i get is this error

Unknown option "--as=gas-preprocessor.pl". See ./configure --h开发者_运维问答elp for available options.

Any ideas??? Thank u.


you need to create folders in usr dir called local and then bin then in bin put gas-preprocessor.pl file.

then try the configure command.

Note: by default usr dir which is in root level is hidden, you need to right click on finder icon, select "Go to Folder" then type /usr and enter to reveal usr directory.


You have to move or copy gas-preprocessor into /usr/local/bin directory. Note that you must be root user to copy this file into this directory. (By default root user is not activated on mac, you have to activate it before).

Hope it helps, David

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜