NVIDIA-AI-IOT / ros2_tao_pointpillars

ROS2 node for 3D object detection using TAO-PointPillars.
Apache License 2.0
70 stars 22 forks source link

Error while building: point_cloud2_iterator.hpp not found #1

Open amansrf opened 1 year ago

amansrf commented 1 year ago

fatal error: ../include/pp_infer/point_cloud2_iterator.hpp: No such file or directory 46 | #include "../include/pp_infer/point_cloud2_iterator.hpp"

Where can I find this file? @AsawareeBhide

[EDIT] Is it just this file: https://github.com/ros2/common_interfaces/blob/foxy/sensor_msgs/include/sensor_msgs/point_cloud2_iterator.hpp

[EDIT #2]: Looks like it is that file. I wonder why we need to include it seperately like this? Any reason?

RFRIEDM-Trimble commented 1 year ago

sensor_msgs is included in the package.xml, but not linked in the CMakeLists. Fixing the linkage and includes uncovered another issue, but I fixed that too on my fork.

amansrf commented 1 year ago

That makes sense. Will take a look at your fork.

What was the other issue you found?

RFRIEDM-Trimble commented 1 year ago

That makes sense. Will take a look at your fork.

What was the other issue you found?

I'll file a ticket for it shortly.

MathiasPechinger commented 1 year ago

@RFRIEDM-Trimble I am using your fork and still get the "no such file" error concerning the "point_cloud2_interator.hpp" file. I am using your bugfix branch. Are you sure your fork up to date?