ffmpegandroidlibrary icon indicating copy to clipboard operation
ffmpegandroidlibrary copied to clipboard

does not work build

Open bolds07 opened this issue 6 years ago • 2 comments

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

bolds07 avatar May 10 '18 17:05 bolds07

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, [email protected] 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- .

madhavanmalolan avatar May 11 '18 12:05 madhavanmalolan

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 <stdint.h> ^ compilation terminated. make: *** [libavdevice/alldevices.o] Error 1 MayurPatel:ffmpeg-4.2.2 mayur.patel$

mayurvpatel avatar Mar 17 '20 12:03 mayurvpatel