$ sudo apt-get install build-essential checkinstall cmake git pkg-config yasm libtiff5-dev libjpeg-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine2-dev libv4l-dev python-dev python-numpy libtbb-dev libgtk2.0-dev libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev x264 v4l-utils libopenexr-dev python-tk libeigen3-dev libx264-dev
$ sudo add-apt-repository ppa:mc3man/gstffmpeg-keep
$ sudo apt-get update
$ sudo apt-get install ffmpeg
$ git clone https://github.com/opencv/opencv.git
$ git clone https://github.com/opencv/opencv_contrib.git
$ cd opencv
$ mkdir build
$ cd build
$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D WITH_TBB=ON -D WITH_IPP=OFF -DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules ../
$ make -j8
$ sudo make install
2017년 5월 18일 목요일
OpenCV 3.2 in Ubuntu 16.10
2017년 5월 16일 화요일
GLIBCXX_3.4.22 not found
문제
$ gnome-terminal &
/usr/bin/gnome-terminal.real: /home/xx/anaconda2/lib/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /usr/lib/x86_64-linux-gnu/libmircommon.so.6)
해결
~/anaconda2/lib$ mv -vf libstdc++.so.6 libstdc++.so.6.old
'libstdc++.so.6' -> 'libstdc++.so.6.old'
~/anaconda2/lib$ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./libstdc++.so.6
참조
https://askubuntu.com/a/764572/689555
2017년 5월 12일 금요일
X-11 forwarding error
X-11 forwarding error :
Segmentation fault
일부 gedit, gnome-terminal 등 application에서 발생..
환경 :
Server : Ubuntu 16.10 (Nvidia GTX 1080)
Client : Windows 7 (moba xterm) --> 문제 발생
Client : OS X Maverics 에서는 문제 없었음..
해결 :
참고 : https://askubuntu.com/a/796159
Segmentation fault
일부 gedit, gnome-terminal 등 application에서 발생..
환경 :
Server : Ubuntu 16.10 (Nvidia GTX 1080)
Client : Windows 7 (moba xterm) --> 문제 발생
Client : OS X Maverics 에서는 문제 없었음..
/usr/lib/x86_64-linux-gnu$ sudo ln -s /usr/lib/nvidia-375/libGLX_indirect.so.0
참고 : https://askubuntu.com/a/796159
피드 구독하기:
글 (Atom)