MIT-SPARK / Kimera-VIO

Visual Inertial Odometry with SLAM capabilities and 3D Mesh generation.
BSD 2-Clause "Simplified" License
1.53k stars 416 forks source link

Update kimera_vio_install.md: modify opencv cmake command #237

Open ntvthuyen opened 3 weeks ago

ntvthuyen commented 3 weeks ago

Modify cmake command to fix opencv2/viz.hpp header missing error.

Run cmake -DWITH_VTK=On without including opencv_contrib modules folder will produce no error. However, the viz folder and related header will be missing from opencv2 library folder. That leads to Kimera-VIO build error (viz header missing).

To fix that, we have to pull opencv_contrib repository and include it to cmake command.