Also, I have downloaded ndk 4 for the above tutorial since toolchain differences might cause some problems. I have updated build-essentials both with apt-get and aptitude, I know they are up to date but c compiler doesnot want to be found apparently. I get no errors related to unknown options but still facing the c compiler error. For macOS 64bit 10. I have been trying another build script for x264. You have to compile or download this yourself. This is why I thought I should gather them up into a single post for easier reference later on. Unknown option –prefix=/work/my-android-toolchain/sysroot/usr, ignored I had to build FFmpeg with x264 support on macO statically, so I had to look around for a bunch of scattered commands. Unknown option –cross-prefix=arm-linux-androideabi-, ignored Toolchain builds well but when i try to configure x264 with the code piece you have provided, i get the following error. I have started to build ffmpeg and x264 this week and i am pretty inexperienced when it comes to script writing,therefore i think i am missing some basic stuff. ffmepg_build directory (in the prefix option) Configuration for detailed module selection.į. Download FFMpeg source code from (This case is FFmpeg 0.10.3 “Freedom” version)Ĭ. You can find the library & include files in –prefix option’s directory.Ī. –prefix=/work/my-android-toolchain/sysroot/usrĭ. (prefix option is very important for FFMpeg compiling.) Compile & Build x264 project for FFMpeg library.ī. You can use directly with PATH, CC setting.Įxport PATH=/work/my-android-toolchain/bin:$PATHĢ. $> $NDK/build/tools/make-standalone-toolchain.sh –platform=android-14 –install-dir=/work/my-android-toolchainĬ. Android’s NDK allows we to create toolchain installation using “make-standalone-toolchain.sh” script. Toolchain for compile (This NDK version is r8)Ī.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |