ravijo / ros_openpose

ROS wrapper for OpenPose
MIT License
142 stars 63 forks source link

Error running the launch file run.launch #90

Closed prajval10 closed 1 year ago

prajval10 commented 1 year ago

Thanks @ravijo for the great package. The package installs correctly using catkin_make. I modified the launch file according to the documentation in the README. However while running the launch file, I have the following error:

ros-workspace/devel/lib/ros_openpose/rosOpenposeAsync: symbol lookup error: ros-workspace/devel/lib/ros_openpose/rosOpenposeAsync: undefined symbol: _ZN2op17WrapperStructPoseC1ENS_8PoseModeERKNS_5PointIiEES5_NS_9ScaleModeEiiifNS_10RenderModeENS_9PoseModelEbffiRKNS_6StringERKSt6vectorINS_11HeatMapTypeESaISD_EES6_bfibdSB_SB_fb
ravijo commented 1 year ago

It seems that either the linker cannot find the correct symbol table or the symbols are not matching with the version you have.

Can you please make sure the OpenPose is installed correctly? In your OpenPose installation, you may want to execute the following commands:

$ git checkout tags/v1.7.0
$ make -j`nproc`
$ sudo make install

Later, please clean and recompile your ROS workspace's build folder.

prajval10 commented 1 year ago

That fixed the error. Thanks!