multimedia/ffmpeg fails to build
David Demelier
demelier.david at gmail.com
Wed Jun 29 18:24:53 UTC 2011
Hello,
It seems that your last commit fails to compile here on 8.2-STABLE :
libavfilter/vf_libopencv.c:28:23: warning: opencv/cv.h: No such file or
directory
libavfilter/vf_libopencv.c:29:27: warning: opencv/cxcore.h: No such file
or directory
libavfilter/vf_libopencv.c:34: error: expected ')' before '*' token
libavfilter/vf_libopencv.c:52: warning: type defaults to 'int' in
declaration of 'IplImage'
libavfilter/vf_libopencv.c:52: error: expected ';', ',' or ')' before
'*' token
libavfilter/vf_libopencv.c:74: error: expected declaration specifiers or
'...' before 'IplImage'
libavfilter/vf_libopencv.c:74: error: expected declaration specifiers or
'...' before 'IplImage'
libavfilter/vf_libopencv.c: In function 'smooth_init':
libavfilter/vf_libopencv.c:98: error: 'CV_BLUR' undeclared (first use in
this function)
libavfilter/vf_libopencv.c:98: error: (Each undeclared identifier is
reported only once
libavfilter/vf_libopencv.c:98: error: for each function it appears in.)
libavfilter/vf_libopencv.c:99: error: 'CV_BLUR_NO_SCALE' undeclared
(first use in this function)
libavfilter/vf_libopencv.c:100: error: 'CV_MEDIAN' undeclared (first use
in this function)
libavfilter/vf_libopencv.c:101: error: 'CV_GAUSSIAN' undeclared (first
use in this function)
libavfilter/vf_libopencv.c:102: error: 'CV_BILATERAL' undeclared (first
use in this function)
libavfilter/vf_libopencv.c: At top level:
libavfilter/vf_libopencv.c:127: error: expected declaration specifiers
or '...' before 'IplImage'
libavfilter/vf_libopencv.c:127: error: expected declaration specifiers
or '...' before 'IplImage'
libavfilter/vf_libopencv.c: In function 'smooth_end_frame_filter':
libavfilter/vf_libopencv.c:131: warning: implicit declaration of
function 'cvSmooth'
libavfilter/vf_libopencv.c:131: error: 'inimg' undeclared (first use in
this function)
libavfilter/vf_libopencv.c:131: error: 'outimg' undeclared (first use in
this function)
libavfilter/vf_libopencv.c: At top level:
libavfilter/vf_libopencv.c:201: error: expected ')' before '*' token
libavfilter/vf_libopencv.c:247: error: expected specifier-qualifier-list
before 'IplConvKernel'
libavfilter/vf_libopencv.c: In function 'dilate_init':
libavfilter/vf_libopencv.c:263: warning: implicit declaration of
function 'parse_iplconvkernel'
libavfilter/vf_libopencv.c:263: error: 'DilateContext' has no member
named 'kernel'
libavfilter/vf_libopencv.c: In function 'dilate_uninit':
libavfilter/vf_libopencv.c:284: warning: implicit declaration of
function 'cvReleaseStructuringElement'
libavfilter/vf_libopencv.c:284: error: 'DilateContext' has no member
named 'kernel'
libavfilter/vf_libopencv.c: At top level:
libavfilter/vf_libopencv.c:287: error: expected declaration specifiers
or '...' before 'IplImage'
libavfilter/vf_libopencv.c:287: error: expected declaration specifiers
or '...' before 'IplImage'
libavfilter/vf_libopencv.c: In function 'dilate_end_frame_filter':
libavfilter/vf_libopencv.c:291: warning: implicit declaration of
function 'cvDilate'
libavfilter/vf_libopencv.c:291: error: 'inimg' undeclared (first use in
this function)
libavfilter/vf_libopencv.c:291: error: 'outimg' undeclared (first use in
this function)
libavfilter/vf_libopencv.c:291: error: 'DilateContext' has no member
named 'kernel'
libavfilter/vf_libopencv.c: At top level:
libavfilter/vf_libopencv.c:294: error: expected declaration specifiers
or '...' before 'IplImage'
libavfilter/vf_libopencv.c:294: error: expected declaration specifiers
or '...' before 'IplImage'
libavfilter/vf_libopencv.c: In function 'erode_end_frame_filter':
libavfilter/vf_libopencv.c:298: warning: implicit declaration of
function 'cvErode'
libavfilter/vf_libopencv.c:298: error: 'inimg' undeclared (first use in
this function)
libavfilter/vf_libopencv.c:298: error: 'outimg' undeclared (first use in
this function)
libavfilter/vf_libopencv.c:298: error: 'DilateContext' has no member
named 'kernel'
libavfilter/vf_libopencv.c: At top level:
libavfilter/vf_libopencv.c:306: error: expected declaration specifiers
or '...' before 'IplImage'
libavfilter/vf_libopencv.c:306: error: expected declaration specifiers
or '...' before 'IplImage'
libavfilter/vf_libopencv.c: In function 'end_frame':
libavfilter/vf_libopencv.c:359: error: 'IplImage' undeclared (first use
in this function)
libavfilter/vf_libopencv.c:359: error: expected ';' before 'inimg'
libavfilter/vf_libopencv.c:361: warning: implicit declaration of
function 'fill_iplimage_from_picref'
libavfilter/vf_libopencv.c:361: error: 'inimg' undeclared (first use in
this function)
libavfilter/vf_libopencv.c:362: error: 'outimg' undeclared (first use in
this function)
libavfilter/vf_libopencv.c:363: error: too many arguments to function
'ocv->end_frame_filter'
libavfilter/vf_libopencv.c:364: warning: implicit declaration of
function 'fill_picref_from_iplimage'
gmake: *** [libavfilter/vf_libopencv.o] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 1
Stop in /usr/ports/multimedia/ffmpeg.
*** Error code 1
This is my options :
===> The following configuration options are available for ffmpeg-0.7.1_3,1:
ALSA=off "Enable alsa input/output device"
AMR_NB=off "AMR Narrow Band audio encoder (opencore)"
AMR_WB=off "AMR Wide Band audio decoder (opencore)"
CELT=off "Enable CELT/Opus decoding via libcelt"
DIRAC=off "Dirac codec via libdirac"
FAAC=off "FAAC mp4/aac audio encoder"
FFSERVER=on "Build and install ffserver"
FREETYPE=on "Text on top of video frames (freetype2)"
FREI0R=off "Frei0r wrapper filter"
GSM=off "GSM audio codec"
LAME=off "LAME MP3 encoder"
OPENCV=on "OpenCV video filtering support"
OPENJPEG=off "JPEG 2000 decoder"
OPTIMIZED_CFLAGS=off "Additional optimizations"
RTMP=off "RTMP[E] support via librtmp"
SCHROEDINGER=off "Dirac codec via libschroedinger"
SDL=off "SDL support (build ffplay)"
SPEEX=off "Speex audio decoder"
THEORA=on "Theora encoder (implies OGG)"
VAAPI=off "GPU acceleration support (libva)"
VDPAU=off "Nvidia vdpau support"
VO_AACENC=off "AAC audio encoder (vo-aacenc)"
VO_AMRWBENC=off "AMR Wide Band audio encoder (vo-amrwbenc)"
VORBIS=on "Vorbis encoder via libvorbis (implies OGG)"
VP8=on "VP8 codec via libvpx"
X264=on "H.264 encoder"
XVID=on "Xvid encoder via xvidcore"
Cheers,
--
David Demelier
More information about the freebsd-ports
mailing list