Skip to content

Commit 2e3c6f2

Browse files
committed
some fixes
1 parent 383ab3f commit 2e3c6f2

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
Script and Troubleshooting guide to install ROS lunar on MacOS
66

7-
### Trouble Shooting Guide
8-
9-
TO DO
7+
```
8+
git clone https://github.com/vinay0410/install-ros-macos.git
9+
cd install-ros-macos
10+
bash -x install_ros.sh
11+
source ~/ros_catkin_ws/install_isolated/setup.bash
12+
```

install_ros.sh

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,21 @@ popd
4848
fi
4949
popd
5050

51+
# Certificate Error on some machines
52+
53+
ruby -ropenssl -e "p OpenSSL::X509::DEFAULT_CERT_FILE"
54+
export SSL_CERT_FILE=/usr/local/etc/openssl/cert.pem
55+
5156
sudo -H rosdep init
57+
58+
# if rosdep init fails, do it manually
59+
60+
if [ $? -eq 0 ]; then
61+
wget https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
62+
mkdir -p /etc/ros/rosdep/sources.list.d/
63+
mv 20-default.list /etc/ros/rosdep/sources.list.d/
64+
fi
65+
5266
rosdep update
5367

5468
mkdir ~/ros_catkin_ws
@@ -82,5 +96,3 @@ fi
8296

8397

8498
./src/catkin/bin/catkin_make_isolated --install -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_BUILD_TYPE=Release
85-
86-
#source ~/ros_catkin_ws/install_isolated/setup.bash

0 commit comments

Comments
 (0)