You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MACOS.md
+24-4Lines changed: 24 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,30 @@ While there is an option, namely [RoboStack](https://robostack.github.io/Getting
4
4
5
5
So let us build ROS2 from source to use on macOS (Intel only) as well.
6
6
7
-
**Note**: ~~At the moment, you cannot simply download and run the software built on GitHub Action because it was not `codesign`ed unless you are willing to [disable Gatekeeper](https://www.makeuseof.com/how-to-disable-gatekeeper-mac/).~~ You can use our release built on GitHub Action server but you must not download it from the browser as doing so put them in quarantine. Open the terminal and do
7
+
8
+
## For the impatient
9
+
10
+
If you want to save yourself one full working day, you can use [our release](https://github.com/light-tech/ROS2-On-iOS/releases) built on GitHub Action server.
11
+
12
+
* If you download the file from a browser, it will be put in quarantine so you need to `xattr -d com.apple.quarantine FILE` before extraction.
13
+
* To avoid that thank to [this discussion thread](https://developer.apple.com/forums/thread/703523), you could open the terminal and do
After extracting the archive with `tar xzf` and move it to where you want (I usually rename the folder to `ros2` and move it inside `~/usr`in my home folder along with the other Linux-based software), you first need to
thank to [this discussion thread](https://developer.apple.com/forums/thread/703523).
27
+
and then you can use ROS2 as usual.
28
+
29
+
30
+
## Build rviz2
13
31
14
32
First we build the required libs to the local location, say `$ros2SystemDependenciesPath`, such as `$REPO_ROOT/deps`, `~/ros2deps` or the commonly used `~/usr`.
15
33
@@ -35,6 +53,8 @@ First we build the required libs to the local location, say `$ros2SystemDependen
35
53
36
54
Likewise for `orocos_kdl_vendor` which relies on `Eigen3Config.cmake` located in `$ros2SystemDependenciesPath`.
37
55
56
+
The package `libcurl_vendor` by default have a lot of dependencies so either disable most of them or build those you want.
57
+
38
58
Also, disable `python_orocos_kdl_vendor` and `rviz_visual_testing_framework`.
39
59
40
60
5. Build ROS2 for macOS using the similar command but set `CMAKE_PREFIX_PATH` to the location where we install the above dependencies
0 commit comments