Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. libx264:
- ./configure --prefix=/custom/path --enable-shared
- make
- make install
- 1.5 environment vars
- PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/custom/path/lib/pkg-config
- PKG_CONFIG_LIBDIR=:/custom/path/lib
- LD_LIBRARY_PATH=/custom/path/lib
- ( echo "/custom/path/lib" >> /etc/ld.so.conf" )
- 2. ffmpeg:
- ../ffmpeg-1.1.2/configure --enable-shared --disable-programs --disable-network --disable-indevs --disable-decoders --enable-libx264 --enable-gpl --prefix=/custom/path --extra-cflags="-I/custom/path/include" --extra-ldflags="-L/custom/path/lib"
- make
- make install
- 3. opencv:
- cmake ../OpenCV-2.4.3/ \
- -DCMAKE_BUILD_TYPE="Release" \
- -DCMAKE_INSTALL_PREFIX=/custom/path \
- -DINSTALL_MAN_DIR=man \
- -DBUILD_SHARED_LIBS=ON \
- -DENABLE_PRECOMPILED_HEADERS=OFF \
- -DLIB_INSTALL_DIR=/custom/path \
- -DWITH_GSTREAMER=OFF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement