在ubuntu下用cmake编译OpenCV出错,跪求解决!
各位大虾,我在ubuntu的环境下用cmake编译OpenCV2.4.0,出现错误。错误如下:CMakeErroratcmake/OpenCVUtils.cmake:5(...
各位大虾,我在ubuntu的环境下用cmake编译OpenCV2.4.0,出现错误。错误如下:
CMake Error at cmake/OpenCVUtils.cmake:5 (find_package):
find_package called with invalid argument "2.7.2+"
Call Stack (most recent call first):
cmake/OpenCVDetectPython.cmake:35 (find_host_package)
CMakeLists.txt:469 (include)
CUDA_TOOLKIT_ROOT_DIR not found or specified
Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "4.1")
跪求解决。谢谢 展开
CMake Error at cmake/OpenCVUtils.cmake:5 (find_package):
find_package called with invalid argument "2.7.2+"
Call Stack (most recent call first):
cmake/OpenCVDetectPython.cmake:35 (find_host_package)
CMakeLists.txt:469 (include)
CUDA_TOOLKIT_ROOT_DIR not found or specified
Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "4.1")
跪求解决。谢谢 展开
若以下回答无法解决问题,邀请你更新回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询