Closed MakinoharaShouko closed 4 years ago
First I'd suggest making sure you're really on the latest master
branch. You can see that the rmf_traffic::agv::Graph::Lane::Wait
class is defined here.
If you're really encountering this error while building the latest master
, then somehow somewhere you must have an old version of the rmf_traffic/agv/Graph.hpp
header, and your compiler is somehow using that header instead of the newer one. When building your rmf_demos_ws
, make sure you're only sourcing the ROS2 distro and not sourcing any other workspace that might contain rmf_core
.
Also, have you ever installed rmf_traffic
into your system install directory (e.g. /usr/
)? If you've ever installed it system-wide then the compiler may be picking up that older installation.
OK I found that I once installed the binary package of rmf_core
and that is where my problem comes from.
I am getting colcon_build error after pulling the latest rmf_core. The error is
I am really confused why there is this error. I have also tried to do
rm -rf build log install
before runningcolcon_build
but the error still exists. Has anyone encountered this too?