Error compiling .cpp

Hello!

Yesterday I had to change the pc, in my old pc I had the debian version of mavros installed, I had this file cpp (https://dev.px4.io/en/ros/mavros_offboard.html) and it ran perfectly.

In my new computer install the source version of mavros and when doing the same file again, I find the following error “no such file mavros: msgs / CommandBool”

What am I doing wrong?
Do I have to go back to the debian version?

Thanks and regards !

Maybe its not at the same path it was on your old PC, the compilation process doesn’t seem to find the instalation folder of MAVROS