I am trying to build my first ROS2 node in C++. I followed all steps in python and successfuly created my first node in py, but when I try to create it in C++ using Visual studio, VS doesn't compile the following header file :
#include "rclcpp/rclcpp/rclcpp.hpp"
the code itself.json file when I tried to change the directory The error
I tried to change the directory as shown in the second photo and rebuild again but the problem stays.