opengl, sdl, ffmpeg, opencv在centos下搭建

前端之家收集整理的这篇文章主要介绍了opengl, sdl, ffmpeg, opencv在centos下搭建前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
enviroment install: 1. install opengl yum install mesa* yum install freeglut* 2. install SDL2-2.0.6: ./autogen.sh ./configure make -j make install 3. install SDL2_ttf-2.0.14 ./autogen.sh ./configure make -j make install 4. install some packets yum install cmake gcc gcc-c++ gtk+-devel gimp-develgimp-devel-tools gimp-help-browser zlib-devel libtiff-devel libjpeg-devellibpng-devel gstreamer-devel libavc1394-devel libraw1394-devel libdc1394-develjasper-devel jasper-utils swig python libtool nasm be sure cmake version > cmake-2.8.10.2 5. install ffmpeg: cd ffmpeg ./configure --enable-libopencv --enable-swscale --enable-avresample--enable-gpl --enable-shared make -j make install 6. install opencv: cd opencv-3.2.4 cmake -DCMAKE_CXX_FLAGS=-D__STDC_CONSTANT_MACROS make -j make install touch /etc/ld.so.conf.d/opencv.conf echo "/usr/local/lib" > /etc/ld.so.conf.d/opencv.conf echo "/usr/local/include" >> /etc/profile export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig 原文链接:https://www.f2er.com/centos/375532.html

猜你在找的CentOS相关文章