代码拉取完成,页面将自动刷新
同步操作将从 killmy/HDU_Phoenix 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
cmake_minimum_required(VERSION 2.6)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
project(RM_CV)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake_module)
#只需要修改路径
set(INC_DIRS # /home/nuc/HDU_Phoenix/buff/Inc
# /home/nuc/HDU_Phoenix/camera/cam_inc
# /home/nuc/HDU_Phoenix/camera/Inc
# /home/nuc/HDU_Phoenix/armor/Inc
# /home/nuc/HDU_Phoenix/main/Inc
# /home/nuc/HDU_Phoenix/serials/Inc
# /home/nuc/HDU_Phoenix/general/Inc
# /home/nuc/HDU_Phoenix/utilities/Inc
buff/Inc
camera/cam_inc
camera/Inc
armor/Inc
main/Inc
serials/Inc
general/Inc
utilities/Inc)
set(LIB_DIRS ${PROJECT_SOURCE_DIR}/camera/lib)
#链接库和.h
include_directories(${INC_DIRS})
link_directories(${LIB_DIRS})
find_package(Threads REQUIRED)
find_package(OpenCV REQUIRED)
find_package(Glog REQUIRED)
add_executable(RM_CV main1.cpp armor/Src/ArmorDector.cpp
camera/Src/camera_wrapper.cpp
main/Src/img_buffer.cpp
main/Src/ImgProdCons.cpp
serials/Src/serial.cpp
utilities/Src/opencv_extend.cpp
camera/Src/camera.cpp)
#链接
target_link_libraries(RM_CV
libGenApi_gcc421_v3_0.so
libGCBase_gcc421_v3_0.so
libLog_gcc421_v3_0.so
liblog4cpp_gcc421_v3_0.so
libMathParser_gcc421_v3_0.so
libMediaProcess.so
libMvCameraControl.so
libMVGigEVisionSDK.so
libMVRender.so
libMvUsb3vTL.so
libNodeMapData_gcc421_v3_0.so
libXmlParser_gcc421_v3_0.so)
target_link_libraries(RM_CV ${OpenCV_LIBS} ${GLOG_LIBRARY})
target_link_libraries(RM_CV Threads::Threads)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。