> > gavl and gmerlin build and install fine for me. > > > > I am having problems with the latest CVS for avdec and encoders. > > > > I cannot configure avdec to use libswscale because of the problems I > > reported with libavutil. > > > > --------------- > > > > with gmerlin_encoders, I get the following compile error: > > > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include > > -I../../include -I/opt/gmerlin/include -I/include -I/include > > -DLOCALE_DIR=\"/usr/local/share/locale\" -D_REENTRANT > > -D_FILE_OFFSET_BITS=64 -march=nocona -mtune=nocona -O3 > > -funroll-all-loops -fomit-frame-pointer -ffast-math -I/usr/local/include > > -I/usr/include/libxml2 -Wall -Wmissing-declarations > > -Wdeclaration-after-statement -MT ffmpeg_common.lo -MD -MP -MF > > .deps/ffmpeg_common.Tpo -c ffmpeg_common.c -fPIC -DPIC -o > > .libs/ffmpeg_common.o > > ffmpeg_common.c: In function âbg_ffmpeg_add_video_streamâ: > > ffmpeg_common.c:297: error: âAVStreamâ has no member named > > âsample_aspect_ratioâ > > ffmpeg_common.c:298: error: âAVStreamâ has no member named > > âsample_aspect_ratioâ > > ffmpeg_common.c: In function âopen_audio_encoderâ: > > ffmpeg_common.c:380: error: âAVCodecâ has no member named > > âsample_fmtsâ > > ffmpeg_common.c:381: error: âAVCodecâ has no member named > > âsample_fmtsâ > > ffmpeg_common.c: In function âopen_video_encoderâ: > > ffmpeg_common.c:440: warning: ignoring return value of âfreadâ, > > declared > > with attribute warn_unused_result > > ffmpeg_common.c: At top level: > > ffmpeg_common.c:889: error: âSAMPLE_FMT_DBLâ undeclared here (not in a > > function) > > make[2]: *** [ffmpeg_common.lo] Error 1 > > make[2]: Leaving directory > > `/home/august/Downloads/gmerlin_encoders/plugins/ffmpeg' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory > > `/home/august/Downloads/gmerlin_encoders/plugins' > > make: *** [all-recursive] Error 1 > > > > > > It looks like ./configure found all the right headers. > > > > Ok, what is the exact ffmpeg version you are using? How can I reproduce > it on my Ubuntu 10.04? > > Usually I compile ffmpeg from source. > > Burkhard
pkg-config --modversion libavcodec libavformat libavutil libavdevice 51.57.0 52.14.0 49.6.0 52.0.0 I just did a check and found that I had ffmpeg headers in /usr/local/include that came from a cinelerra install. If you compile cinelerra-cv from source and then install it, it copies the ffmpeg headers to /usr/local/include AND it also makes versions of the ffmpeg libs under /usr/local/lib with names like libavcodec-cinelerra, etc. After I removed the headers from /usr/local/include, everything compiles fine. Can anything in configure be done here to check for duplicate headers and at least spit out a warning? Ffmpeg is such a mess to deal with. Unfortunately, I still have package problems with libswscale. argggg. -august. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Gmerlin-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gmerlin-general
