Error when running colcon build -- sensor_msgs/msg/NavSatFix.hpp no such file or directory
Im new to ros and have been trying to port someones ROS code to ROS2. I have modified much of the main functionality with like for like replacements. However when i run a colcon build i get a no such file or directory. I was told that i need to create the .hpp file from the .msg file that is stored in /opt/ros/foxy/incude/sensor_msgs/msg/NavSatFix.msg. However i have no idea how to generate this. Any help would be appreciated.