This repository has been archived on 2022-06-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ORB_SLAM3_linux/Thirdparty/Sophus/scripts/install_osx_deps.sh
Ivan c63e1ff208 v1
2022-06-08 17:41:00 +03:00

21 lines
484 B
Bash
Executable File

#!/bin/bash
set -x # echo on
set -e # exit on error
brew update
brew install eigen
brew install glog
brew install suite-sparse
brew install ccache
export PATH="/usr/local/opt/ccache/libexec:$PATH"
whereis ccache
git clone https://ceres-solver.googlesource.com/ceres-solver ceres-solver
cd ceres-solver
git reset --hard afe93546b67cee0ad205fe8044325646ed5deea9
mkdir build
cd build
ccache -M 50G
ccache -s
cmake -DCXX11=On -DCMAKE_CXX_COMPILER_LAUNCHER=ccache ..
make -j3
make install