opencv install
2019.03.26
呼呼呼山
 热度
℃
Boost - c++ Librairies (thread and system are needed)
sudo apt-get install libboost-all-dev
Eigen 3 - Linear algebra
sudo apt-get install libeigen3-dev
opencv
1 2 3 4 5 6 7 8 9 10 11 12
| sudo apt-get install build-essential cmake git pkg-config git clone https://github.com/Itseez/opencv.git git checkout 3.4.4 git clone https://github.com/Itseez/opencv_contrib.git git checkout 3.4.4 cd opencv mkdir build cd build cmake .. make -j5 sudo make install
|
Sophus
1 2 3 4 5 6 7 8
| cd workspace git clone https://github.com/strasdat/Sophus.git cd Sophus git checkout a621ff mkdir build cd build cmake .. make
|
Note: if you encounter some lvalue errors for unit_complex_.imag() = 0
, you may change that code to unit_complex_.imag(0.)
;
Fast
1 2 3 4 5 6 7
| cd workspace git clone https://github.com/uzh-rpg/fast.git cd fast mkdir build cd build cmake .. make
|
vikit_common
1 2 3 4 5 6 7
| cd workspace git clone https://github.com/uzh-rpg/rpg_vikit.git cd rpg_vikit/vikit_common mkdir build cd build cmake .. make
|
in rpg_vikit/vikit_common/CMakeLists.txt
set the flag USE_ROS
to FALSE
.
SVO
1 2 3 4 5 6 7
| cd workspace git clone https://github.com/uzh-rpg/rpg_svo.git cd rpg_svo/svo mkdir build cd build cmake .. make
|
In svo/CMakeLists.txt
set the flag USE_ROS
to FALSE
.