", line 1, in 赞 踩 ubuntu18.04 opencv3.4.8 1080Ti 依赖项: cmake \ 错误1:No module named numpy.distutils 解决方法: 错误2: 解决方法: 错误3: 解决方法: 错误4: 解决方法: 错误5: 解决方法: 添加软链接: 添加OpenBLAS库路径于 ~/opencv-x.x.x/cmake/OpenCVFindOpenBLAS.cmake文件: 46行SET(Open_BLAS_LIB_SEARCH_PATHS Open_BLAS_INCLUDE_SEARCH_PATHS path: 58行SET(Open_BLAS_LIB_SEARCH_PATHS Open_BLAS_LIB_SEARCH_PATHS path: 错误6: 解决方法: 错误7: 解决方法: 错误8: 解决方法: 错误9: 解决方法: 错误10: 解决方法: 错误11: 解决方法: 错误12: 解决方法: 错误13: 解决方法: 错误14: 解决方法: 错误15: 解决方法: 错误16: 解决方法: 错误17: 解决方法: 错误18: 解决方法: Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。
ubuntu18.04下opencv3.4.5 opencv_contribution (GPU加速)安装记录_ubuntu18.04 libdc1394-2
-D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D OPENCV_EXTRA_MODULES_PATH=../opencv_contrib-3.4.8/modules/ \
-D CUDA_CUDA_LIBRARY=/usr/local/cuda/lib64/stubs/libcuda.so \
-D CUDA_ARCH_BIN=7.5 \
-D CUDA_ARCH_PTX="" \
-D WITH_CUDA=ON \
-D WITH_TBB=ON \
-D BUILD_NEW_PYTHON_SUPPORT=ON \
-D WITH_V4L=ON \
-D INSTALL_C_EXAMPLES=ON \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D BUILD_EXAMPLES=ON \
-D WITH_QT=ON \
-D WITH_OPENGL=ON \
-D ENABLE_FAST_MATH=1 \
-D CUDA_FAST_MATH=1 \
-D WITH_CUBLAS=1 \
-D WITH_NVCUVID=ON \
-D BUILD_opencv_cudacodec=OFF ..sudo apt-get install python-numpy
sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
sudo apt-get install libdc1394-22-dev
-- Could NOT find Atlas (missing: Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY)
sudo apt-get install libatlas-base-dev
sudo ln -s /usr/include/lapacke.h /usr/include/x86_64-linux-gnu
/usr/include/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
sudo ln -s /usr/lib/python2.7/dist-packages/vtk/libvtkRenderingPythonTkWidgets.x86_64-linux-gnu.so /usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so
sudo ln -s /usr/bin/vtk6 /usr/bin/vtk
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
sudo apt-get install openjdk-8-jdk
Looking for ccache - not found
sudo apt-get install ccache
sudo apt-get install tesseract-ocr
Module opencv_sfm disabled because the following dependencies are not found: Eigen
sudo apt-get install libeigen3-dev
sudo apt-get install libceres-dev
sudo apt-get install libavresample-dev
Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS) (found version "")
sudo apt install libhdf5-dev
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
sudo apt install libvtk6-dev