Saturday, March 28, 2009

OpenCV 1.1pre1 on Ubuntu

To make it build with ffmpeg, install libswscale-dev, libavcodec-dev,
and libavformat-dev.

./configure --prefix=/home/binarymillenium/other/install/
--with-ffmpeg --without-gstreamer --without-xine --without-quicktime

It's important to set this if the install prefix is not the usual place:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/binarymillenium/other/install/lib/pkgconfig

run ./build_all.sh in samples dir to build samples

No comments:

Post a Comment