欢迎光临
我们一直在努力

OpenPose CMake时候报错提示缺少SPINNAKER_LIB

如题,编译的时候选择了WITH_FLIR_CAMERA的选项的时候编译报错,如下,原因是 OpenPose 的更新之后,添加了对Spinnaker库的要求 。

解决方法就是 缺啥补啥,安装 Spinnaker ,下面是下载链接https://flir.app.boxcn.net/v/SpinnakerSDK

选择 SpinnakerSDK_FULL_1.27.0.48_x64.exe下载,然后一路安装

安装后得到 C:\Program Files\Point Grey Research\Spinnaker 路径

将上述三个文件夹内容 对应拷贝到 openpose工程目录里,对应关系如下图。openpose里的文件夹是自己创建的

拷贝完成后就完成了,重新cmake就没有问题了。

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
SPINNAKER_LIB
linked by target “openpose” in directory D:/workplace/openpose-1.5.1/src/openpose
linked by target “Calibration” in directory D:/workplace/openpose-1.5.1/examples/calibration
linked by target “OpenPoseDemo” in directory D:/workplace/openpose-1.5.1/examples/openpose
linked by target “1_custom_post_processing” in directory D:/workplace/openpose-1.5.1/examples/tutorial_add_module
linked by target “01_body_from_image_default” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “02_whole_body_from_image_default” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “08_heatmaps_from_image” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “03_keypoints_from_image” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “12_asynchronous_custom_input_output_and_datum” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “05_keypoints_from_images_multi_gpu” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “04_keypoints_from_images” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “06_face_from_image” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “07_hand_from_image” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “09_keypoints_from_heatmaps” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “10_asynchronous_custom_input” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “11_asynchronous_custom_output” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “13_synchronous_custom_input” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “17_synchronous_custom_all_and_datum” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “14_synchronous_custom_preprocessing” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “15_synchronous_custom_postprocessing” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “16_synchronous_custom_output” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_cpp
linked by target “1_thread_user_processing_function” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_thread
linked by target “2_thread_user_input_processing_output_and_datum” in directory D:/workplace/openpose-1.5.1/examples/tutorial_api_thread

Configuring incomplete, errors occurred!

See also “D:/workplace/openpose-1.5.1/build/CMakeFiles/CMakeOutput.log”.

赞(1) 打赏
未经允许不得转载:huangea的博客 » OpenPose CMake时候报错提示缺少SPINNAKER_LIB

评论 抢沙发

有趣的网站

支持快讯、专题、百度收录推送、人机验证、多级分类筛选器,适用于垂直站点、科技博客、个人站,扁平化设计、简洁白色、超多功能配置、会员中心、直达链接、文章图片弹窗、自动缩略图等...

联系我们联系我们

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续给力更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫打赏

微信扫一扫打赏

登录

找回密码

注册