View Single Post
Old 17th September 2015, 09:32   #13  |  Link
jpsdr
Registered User
 
Join Date: Oct 2002
Location: France
Posts: 2,316
ffms2

ffms2 will be more troublesome.
Because of the way komisar's gcc is build, at least at the time i'm writing these lines, you can't compile version 2.21 and up, you can compile only until version 2.20.

To compile, you have to make changes in the building script. You have to change this :
Code:
_cf="-Wno-deprecated-declarations"
_cxx="-Wno-deprecated-declarations"
_ld="-static"
by this :
Code:
_cf="-I${_dir}/include -Wno-deprecated-declarations"
_cxx="-I${_dir}/include -Wno-deprecated-declarations"
_ld="-L${_dir}/lib -static"
#_cf="-Wno-deprecated-declarations"
#_cxx="-Wno-deprecated-declarations"
#_ld="-static"
and this :
Code:
PKG_CONFIG_PATH="${_dir}/lib/pkgconfig" \
by this :
Code:
#PKG_CONFIG_PATH="${_dir}/lib/pkgconfig" \
LIBAV_LIBS="${_lav_l}" \
LIBAV_CFLAGS="${_lav_c}" \
AVRESAMPLE_LIBS="${_av_l}" \
AVRESAMPLE_CFLAGS="${_av_c}" \
You can now compile ffms2 using the script the same way as descrided in first method.
jpsdr is offline   Reply With Quote