Advertisement
Guest User

Untitled

a guest
May 19th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. mkdir build
  2.  
  3. cd build/
  4.  
  5. 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 ..
  6.  
  7. make -j $(($(nproc) + 1))
  8. sudo make install
  9.  
  10. sudo /bin/bash -c 'echo "/usr/local/lib" > /etc/ld.so.conf.d/opencv.conf'
  11.  
  12. sudo ldconfig
  13.  
  14. sudo apt-get update
  15.  
  16. echo "Please reboot for your changes to take effect "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement