Closed mantkiew closed 3 years ago
In catkin_ws/devel I ran
@WAEliasmith we are not concerned with the devel space as it is only for developers. We are only cleaning up the install space, which contains the binaries we distribute to the users. So, there's nothing wrong with these paths appearing in the devel space.
Problem 1
After building Lenelet2 catkin workspace, the generated
install/opt/ros/lanelet2/_setup_util.py
contained the following incorrect shebang line:Which prevents sourcing of the catkin workspace on the target user machines. The correct line should be
Problem 2
The generated code in
install/opt/ros/lanelet2/
contains build machine paths, for example,This is an open problem reported here: https://github.com/catkin/catkin_tools/issues/387 and it does not seem there will be a solution anytime soon.
The prefix
/home/<username>/anm_unreal_sim/submodules/geoscenarioserver/catkin_ws/install/
and also/home/<username>/anm_unreal_sim/submodules/geoscenarioserver/catkin_ws/devel/
should be removed.Changes
/opt/ros/melodic
/home/<username>/anm_unreal_sim/submodules/geoscenarioserver/catkin_ws/install/
with/
Testing problem 1
The script should complete without any errors.
install/opt/ros/lanelet2/_setup_util.py
isTesting problem 2
Search for
/home/<username>/anm_unreal_sim/submodules/geoscenarioserver/catkin_ws/install/
and/home/<username>/anm_unreal_sim/submodules/geoscenarioserver/catkin_ws/devel/
inside all subfolders ofcatkin_ws/install
and the strings should not be present.