[install error] mplayer


- X264

when I install "mplayer" source, it occurred this error.
====================================================================================================
libmpcodecs/ve_x264.c: In function 'put_image':
libmpcodecs/ve_x264.c:239: error: implicit declaration of function 'x264_picture_init'
libmpcodecs/ve_x264.c:249: error: 'X264_TYPE_KEYFRAME' undeclared (first use in this function)
libmpcodecs/ve_x264.c:249: error: (Each undeclared identifier is reported only once
libmpcodecs/ve_x264.c:249: error: for each function it appears in.)
====================================================================================================
upgrade gcc version to 4.4.7 and mpfr, gmp etc..
but it doesn't work.

And I realized that I didn't install libx264-devel.

So, get libx264-devel source, unpack gz file. 
And copy files each directory.
(libx264 source version should be same with x264.so.x.)
when you unpack the package, it create "usr" directory. 
and you can see where the destination is. 

for example,
source dir: usr/lib/include/x264.h  => destination dir: /usr/lib/include/.
======================================================================================================= 


- cannot find -logg
: yum install libogg-devel


댓글