[MPlayer-users] Compile

Phil Oleynik Oleynik.Phil at mail.ioffe.ru
Fri Sep 23 00:06:25 CEST 2005


Julien Lancien wrote:

>Hi all.
>
>I'm trying to compile the CVS version of mplayer and mencoder with the
>CVS version of x264 and FFMpeg.
>
>All are downloaded today.
>
>I compile ffmpeg with:
>./configure --enable-shared
>make make install
>
>When I try to compile mplayer, I got this error during the compilation:
>
>vf_fspp.c:48:28: ffmpeg/dsputil.h: No such file or directory
>vf_fspp.c:398: error: syntax error before "DCTELEM"
>vf_fspp.c:399: error: syntax error before '*' token
>vf_fspp.c:401: error: syntax error before '*' token
>vf_fspp.c: In function `filter':
>vf_fspp.c:421: error: `DCTELEM' undeclared (first use in this function)
>vf_fspp.c:421: error: (Each undeclared identifier is reported only once
>vf_fspp.c:421: error: for each function it appears in.)
>vf_fspp.c:421: error: `block' undeclared (first use in this function)
>vf_fspp.c:421: error: syntax error before ')' token
>vf_fspp.c:422: error: `block3' undeclared (first use in this function)
>vf_fspp.c:422: error: syntax error before ')' token
>vf_fspp.c: At top level:
>vf_fspp.c:874: error: syntax error before "DCTELEM"
>vf_fspp.c: In function `column_fidct_mmx':
>vf_fspp.c:1598: error: `data' undeclared (first use in this function)
>vf_fspp.c:1598: error: `output' undeclared (first use in this function)
>vf_fspp.c:1598: error: `cnt' undeclared (first use in this function)
>vf_fspp.c:1599: error: `thr_adr' undeclared (first use in this function)
>vf_fspp.c: At top level:
>vf_fspp.c:1673: error: syntax error before '*' token
>vf_fspp.c: In function `row_idct_mmx':
>vf_fspp.c:1866: error: `workspace' undeclared (first use in this function)
>vf_fspp.c:1866: error: `output_adr' undeclared (first use in this function)
>vf_fspp.c:1866: error: `cnt' undeclared (first use in this function)
>vf_fspp.c:1867: error: `output_stride' undeclared (first use in this function)
>vf_fspp.c: At top level:
>vf_fspp.c:1939: error: syntax error before '*' token
>vf_fspp.c: In function `row_fdct_mmx':
>vf_fspp.c:2110: error: `pixels' undeclared (first use in this function)
>vf_fspp.c:2110: error: `data' undeclared (first use in this function)
>vf_fspp.c:2110: error: `cnt' undeclared (first use in this function)
>vf_fspp.c:2111: error: `line_size' undeclared (first use in this function)
>make[1]: *** [vf_fspp.o] Error 1
>make[1]: Leaving directory `/home/jlancien/main/libmpcodecs'
>make: *** [libmpcodecs/libmpcodecs.a] Error 2
>
>
>Does anyone know which versions I could use to get a working version
>of mplayer/mencoder with support for lavc and x264 ?
>
>
>Thanks.
>
>
>PS: it works fine without libavcodec (just x264)
>  
>
Certainly, it does. You may fix the problem trying
1. copy libavcodec, libavformat, and third (cannot remember) directory 
from ffmpeg to mplayer distro root.
2. install all ffmpeg headers by copying them to 
/usr/local/include/ffmpeg or similar you probably have.

two ways were tested, both worked on july CVS's, now I use first method.
Error you get - you are missing [where all .h lie]/ffmpeg/dsputil.h 
file, with all others too I think.

Philipp




More information about the MPlayer-users mailing list