Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir build
- cd build/
- cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D FORCE_VTK=ON -D WITH_TBB=ON -D WITH_V4L=ON -D WITH_QT=ON -D WITH_OPENGL=ON -D WITH_CUBLAS=ON -D CUDA_NVCC_FLAGS="-D_FORCE_INLINES" -D WITH_GDAL=ON -D WITH_XINE=ON -D BUILD_EXAMPLES=ON ..
- make -j $(($(nproc) + 1))
- sudo make install
- sudo /bin/bash -c 'echo "/usr/local/lib" > /etc/ld.so.conf.d/opencv.conf'
- sudo ldconfig
- sudo apt-get update
- echo "Please reboot for your changes to take effect "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement