Commit 70879ff
authored
Fix for building after sourcing ROS setup script (#63)
* Remove global ROS variables from environment before build
Unsets `AMENT_PREFIX_PATH` and removes `/opt/ros/$(ROS_DISTRO)/bin`
from `PATH` before building micro_ros_src, in case they've been set
by the ROS setup scripts beforehand.
* Added note to README about running in a clean shell environment
Build can have issues if ROS 2 setup script has been sourced, so made a
note of that here.1 parent 810b55a commit 70879ff
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
0 commit comments