enviroment install: 1. install opengl yum install mesa* yum install free
glut* 2. install SDL2-2.0.6: ./autogen.sh ./con
figure make -j make install 3. install SDL2_ttf-2.0.14 ./autogen.sh ./con
figure make -j make install 4. install some packets yum install cmake gcc gcc-c++ gtk+-devel gimp-deve
lgimp-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 ./con
figure --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_CON
fig_PATH=/usr/local/lib/pkgcon
fig