[FFmpeg-user] ffmpeg cross compile error
Rafael Lima
ragpl07 at gmail.com
Sun Jun 3 22:25:40 EEST 2018
I'm trying to cross-compile ffmpeg for android and i'm not linux/compiler
specialist so far i've spent 10 days with much effort in order to prepare
all the dependencies i need to the job
all the cross-compiled dependencies are under ${PREFIX}/lib or
${PREFIX}/include and i'm using the following command to compile ffmpeg
# Build - FULL version
./configure --prefix=$PREFIX \
--arch=${ARCH}\
--cpu=${CPU} \
--cross-prefix=$CROSS_PREFIX \
--enable-cross-compile \
--sysroot=$SYSROOT \
--target-os=linux \
--sysinclude=$NDK/sysroot/usr/include \
--enable-pic \
--enable-gpl \
--enable-nonfree \
\
--disable-shared \
--enable-static \
\
--enable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
\
--enable-librtmp \
--enable-zlib \
--enable-mediacodec \
--enable-libx264 \
--enable-libfdk-aac\
--enable-libfreetype\
--enable-libmp3lame\
--enable-openssl\
--enable-libfontconfig\
--enable-bsf=aac_adtstoasc \
\
--disable-doc \
however i'm 100% sure about the required libs being correclty compiled and
instaled under ${PREFIX} i keep getting the message:
ERROR: libfdk_aac not found
and if I disable fdk_aac will complain about other lib, and other, until i
disable all extra
how can i tell pkg-config to look under the right folder? all the .pc files
are under ${PREFIX}/lib/pkgconfig
if it is not possible... how can i disable this program?
thanks
--
--
Rafael Lima
More information about the ffmpeg-user
mailing list