Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#949 closed defect (worksforme)

Unable to compile ffmpeg with new libvpx version (1.0.0)

Reported by: xanadonf Owned by:
Priority: normal Component: build system
Version: git-master Keywords: libvpx
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hi,

Since yesterday, I am unable to compile ffmpeg with libvpx on debian squeeze.

A minimalistic configure for purpose:

./configure --prefix=$TOOLS_MULTIMEDIA_DIR --enable-shared --enable-libtheora --enable-libvorbis --enable-libvpx --enable-pthreads --enable-nonfree --disable-decoder=libvpx

ERROR: libvpx encoder version must be >=0.9.6

I used both libvpx trunk and 1.0.0 code on http://code.google.com/p/webm/downloads/detail?name=libvpx-v1.0.0.tar.bz2&can=2&q=

ll /opt/xxx/multimedia/lib/libvpx*
-rw-r--r-- 1 root root 885284 29 janv. 12:40 /opt/mediatech/multimedia/lib/libvpx.a
lrwxrwxrwx 1 root root 15 29 janv. 12:40 /opt/mediatech/multimedia/lib/libvpx.so -> libvpx.so.1.0.0
lrwxrwxrwx 1 root root 15 29 janv. 12:40 /opt/mediatech/multimedia/lib/libvpx.so.1 -> libvpx.so.1.0.0
lrwxrwxrwx 1 root root 15 29 janv. 12:40 /opt/mediatech/multimedia/lib/libvpx.so.1.0 -> libvpx.so.1.0.0
-rwxr-xr-x 1 root root 701973 29 janv. 12:40 /opt/mediatech/multimedia/lib/libvpx.so.1.0.0

libvpx compiled with
./configure --enable-vp8 --prefix=$TOOLS_MULTIMEDIA_DIR --enable-pic --enable-shared

Regards,
Antony

Change History (2)

comment:1 by Carl Eugen Hoyos, 12 years ago

Keywords: compile error removed
Resolution: worksforme
Status: newclosed

I just installed libvpx-v1.0.0 from http://webm.googlecode.com/files/libvpx-v1.0.0.tar.bz2 and compiling ffmpeg with --enable-libvpx works fine (and webm files can be encoded).

If you installed libvpx into /opt/mediatech/multimedia, you have to add correct --extra-cflags and --extra-ldflags to your FFmpeg configure line, probably --extra-cflags=-I/opt/mediatech/multimedia/include --extra-ldflags=-L/opt/mediatech/multimedia/lib

comment:2 by xanadonf, 12 years ago

Thanks. I do not understand why it was compiling for two years now ut it works now.

I do not understand those directives yet, but it compiles now ... i will search on it.

Note: See TracTickets for help on using tickets.