madhavanmalolan / ffmpegandroidlibrary

One line integration for FFMPEG Library in Android
MIT License
90 stars 15 forks source link

does not work build #21

Open bolds07 opened 6 years ago

bolds07 commented 6 years ago

latest ndk version does not have darwin-x86_64, replacing it to the actual directory

!/bin/bash

NDK=/home/r/aff/ndk/ SYSROOT=$NDK/platforms/android-14/arch-arm/ TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64

i get error:

MATHDECLX (Mdouble,function,suffix, args, attrib) ^ /usr/include/bits/mathcalls.h:302:1: note: in expansion of macro 'MATHCALLX' MATHCALLX (trunc,, (Mdouble x), (const)); ^ ffbuild/common.mak:60: recipe for target 'libavdevice/alldevices.o' failed make: *** [libavdevice/alldevices.o] Error 1 teste.sh: 38: teste.sh: build_one: not found

madhavanmalolan commented 6 years ago

Can you share the contents of teste.sh Also, what platform are you building on? What version of ffmpeg are you compiling?

On Thu 10 May, 2018, 10:38 PM bolds07, notifications@github.com wrote:

latest ndk version does not have darwin-x86_64, replacing it to the actual directory

!/bin/bash

NDK=/home/r/aff/ndk/ SYSROOT=$NDK/platforms/android-14/arch-arm/ TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64

i get error:

MATHDECLX (Mdouble,function,suffix, args, attrib) ^ /usr/include/bits/mathcalls.h:302:1: note: in expansion of macro 'MATHCALLX' MATHCALLX (trunc,, (Mdouble x), (const)); ^ ffbuild/common.mak:60: recipe for target 'libavdevice/alldevices.o' failed make: *** [libavdevice/alldevices.o] Error 1 teste.sh: 38: teste.sh: build_one: not found

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/madhavanmalolan/ffmpegandroidlibrary/issues/21, or mute the thread https://github.com/notifications/unsubscribe-auth/ACA3FYA-76m7ikt3aAETokOKP_UYj76bks5txHQCgaJpZM4T6Ob- .

mayurvpatel commented 4 years ago

I am facing the same issue. When I am going to run build_ffmpeg.sh then it is give me an error like this.

CC libavdevice/alldevices.o In file included from ./libavformat/internal.h:24:0, from libavdevice/alldevices.c:23: /Users/mayur.patel/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory include_next ^ compilation terminated. make: *** [libavdevice/alldevices.o] Error 1 MayurPatel:ffmpeg-4.2.2 mayur.patel$