[FFmpeg-user] Compiling ffmpeg: implicit declaration of function ‘lame_set_VBR_quality’

Curtis J Blank curt at curtronics.com
Fri Apr 8 20:11:59 CEST 2011


Ok, it seems I got over that hump. Had an errant copy as in old of 
lame.h in /usr/local/include/lame/ cleaned that up and got past that. 
Always seem to find the fix to the problem right after I ask. Now I'm on 
to a new problem:

libavfilter/vf_libopencv.c:29:28: fatal error: opencv/cxtypes.h: No such 
file or directory

And yeah I can't find it.

On openSuSE 11.2

opencv-devel-2.2.0-1.pm.12.52.x86_64
libopencv2_2-2.2.0-1.pm.12.52.x86_64
libopencv2-2.1.0-2.37.x86_64
opencv-2.2.0-1.pm.12.52.x86_64

And on openSuSE 11.4

opencv-devel-2.2.0-1.pm.12.34.x86_64
libopencv2_2-2.2.0-1.pm.12.34.x86_64
opencv-2.2.0-1.pm.12.34.x86_64



On 04/08/11 11:50, Curtis J Blank wrote:
> 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
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list