openCV4.5.5 Linux下编译好的文件 解压直接可以使用 C++
2022.04 版本较新
Ubuntu 21.04 64Bit下编译且使用正常
Cmakelists.txt 使用:
########## OpenCV
set(OpenCV_DIR /home/april/install/openCV4.5.5/lib/cmake/opencv4)
#find required opencv
find_package(OpenCV REQUIRED)
message(STATUS "-- OpenCV_INCLUDE_DIRS:" ${OpenCV_INCLUDE_DIRS})
message(STATUS "-- OpenCV_LIBRARY_DIRS:" ${OpenCV_LIBRARY_DIRS})
include_directories(${OpenCV_INCLUDE_DIRS})
link_directories(${OpenCV_LIBRARY_DIRS})
2022-11-04 15:23:50
49.18MB
Opencv
1