Skip to content

Commit 2f9ddde

Browse files
author
Michael Dawson-Haggerty
committed
gh install with sudo
1 parent 11dcdb9 commit 2f9ddde

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

build_dependencies/install_macos.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,27 @@ git clone --depth 1 --branch v0.7.0 https://github.com/ambi-robotics/fcl.git
2020

2121
# Install eigen
2222
cmake -B build -S eigen
23-
cmake --install build
23+
sudo cmake --install build
2424

2525
# Build and install libccd
2626
cd libccd
2727
cmake . -D ENABLE_DOUBLE_PRECISION=ON
2828
make -j4
29-
make install
29+
sudo make install
3030
cd ..
3131

3232
# Build and install octomap
3333
cd octomap
3434
cmake . -D CMAKE_BUILD_TYPE=Release -D BUILD_OCTOVIS_SUBPROJECT=OFF -D BUILD_DYNAMICETD3D_SUBPROJECT=OFF
3535
make -j4
36-
make install
36+
sudo make install
3737
cd ..
3838

3939
# Build and install fcl
4040
cd fcl
4141
cmake .
4242
make -j4
43-
make install
43+
sudo make install
4444
cd ..
4545

4646
cd ..

0 commit comments

Comments
 (0)