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

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native