mli0603/PolygonMeshVirtualFixture

关于 OperatingState.h

XZJDJ opened this issue · 5 comments

XZJDJ commented

您好,这是一个很棒的项目,可是我在运行catkin build的时候,发现在~/catkin_ws/src/cisst-saw/cisst-ros/cisst_ros_crtk/include/cisst_ros_crtk/mtsROSToCISST.h这个头文件中引用了 #include <crtk_msgs/OperatingState.h>这个头文件,但是在文件树中并没有找到这个文件,因此报错了,在github中的crtk_msgs包中也没有这个头文件,请问您当时有没有遇到过这个错误?是如何解决的呢?

你好 @XZJDJ

dvrk库最新的更新目前没有和这个项目做compatibility check。我接下来会和dvrk做一个新的衔接来解决这个报错。感谢reporting!

Hi @XZJDJ

What is the dvrk version that you are using? Lastest master or devel branch?

XZJDJ commented

我是在一个全新的Ubuntu18.04系统中完全按照您所写的步骤执行的:
source /opt/ros/melodic/setup.bash
mkdir ~/catkin_ws
cd ~/catkin_ws
wstool init src
catkin init
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release
cd src
git clone https://github.com/mli0603/PolygonMeshVirtualFixture.git dvrk_mesh_vf dvrk_mesh_vf
wstool merge dvrk_mesh_vf/scripts/dvrk_mesh_vf.rosintall
wstool up
catkin build
也就是说我所使用的dvrk版本取决于您上传的文件中的dvrk版本

Hi @XZJDJ

The latest commit should fix the build issue.

XZJDJ commented

Hi @mli0603
Yes, the problem has been solved, thank you!