[FFmpeg-user] Compiling ffmpeg: implicit declaration of function ‘lame_set_VBR_quality’
Curtis J Blank
curt at curtronics.com
Fri Apr 8 18:50:51 CEST 2011
For the life of me I can't get past this.
CC libavcodec/libmp3lame.o
libavcodec/libmp3lame.c: In function ‘MP3lame_encode_init’:
libavcodec/libmp3lame.c:63:9: error: implicit declaration of function
‘lame_set_VBR_quality’
So I look in lame.h
/* VBR quality level. 0=highest 9=lowest, Range [0,...,10[ */
int CDECL lame_set_VBR_quality(lame_global_flags *, float);
float CDECL lame_get_VBR_quality(const lame_global_flags *);
I've got the lame packages installed
lame-3.98.4-5.1.x86_64
libmp3lame-devel-3.98.4-5.1.x86_64
libmp3lame0-3.98.4-5.1.x86_64
libtwolame0-0.3.12-5.1.x86_64
I've tried
ffmpeg-0.6.90-rc0.tar.gz
ffmpeg-HEAD-9d4cb45.tar.gz
ffmpeg-snapshot.tar.gz
These are my configure options
./configure --shlibdir=/usr/lib64 --libdir=/usr/lib64 --enable-shared
--enable-libmp3lame --enable-libvorbis --enable-libtheora
--enable-libspeex --enable-libxvid --enable-postproc --enable-gpl
--enable-x11grab --enable-libgsm --enable-libschroedinger
--enable-libdirac --enable-avfilter --enable-libvpx --enable-version3
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264
--enable-libdc1394 --enable-librtmp --enable-libfaac --enable-nonfree
--enable-libopencv --enable-runtime-cpudetect
But I just can't get it to compile. What am I missing? A compiler flag
or something?
This is on openSuSE 11.2
More information about the ffmpeg-user
mailing list