stevenjj / openpose_ros

A ros wrapper for the CMU openpose library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Caffe Library variable not found on building openpose_ros_pkg

Harsharma2308 opened this issue · comments

I am getting the following error-

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:
CAFFE_LIBRARY

Do I need to set it up explicitly? I have caffe built.

Hi. Try changing this CMake variable to point to the location of caffe's .so file.

FIND_LIBRARY(CAFFE_LIBRARY caffe ../openpose/3rdparty/caffe/distribute/lib)

https://github.com/stevenjj/openpose_ros/blob/master/openpose_ros_pkg/CMakeLists.txt#L53

I changed it to this-
FIND_LIBRARY(CAFFE_LIBRARY caffe ../openpose/3rdparty/caffe/build/lib
It works now. Thanks