[FFmpeg-user] Compiling ffmpeg with libx264

Steve Jones steve at squaregoldfish.co.uk
Sat Aug 27 22:32:20 CEST 2011


On 08/27/2011 12:41 PM, Nicolas George wrote:
> Le decadi 10 fructidor, an CCXIX, Steve Jones a écrit :
>> I'm trying to compile ffmpeg with the libx264 library (both cloned
>> from git today). libx264 installs fine, but when I try to compile
>> ffmpeg I get the following error:
>>
>> /sources/ffmpeg/libavcodec/libx264.c:452: undefined reference to
>> `x264_encoder_open_116'
> 
> It looks like the version you are using for compilation (.h files) is not
> the same as the version you are using for linking (.a or .so files). Look at
> the -I and -L options to the compiler.
> 
> Regards,
> 

I think you're right. I have two versions installed, one in /usr and one
in /usr/local. For some reason the configure script is finding the
version in /usr/local, but at compile time it's trying to use the one in
/usr. I don't really know how configure and make work, so how can I work
out why it's confused?

Steve.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20110827/5207b8d7/attachment.asc>


More information about the ffmpeg-user mailing list