MIT-SPARK / Kimera-VIO

Visual Inertial Odometry with SLAM capabilities and 3D Mesh generation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I compile Kimera without the OpenCV viz module?

sarika93 opened this issue · comments

When I compile Kimera-VIO, I get the below error, indicating that the OpenCV viz module is not installed.

[ 6%] Building CXX object CMakeFiles/kimera_vio.dir/src/dataprovider/EurocDataProvider.cpp.o In file included from /cc_kimera/Kimera-VIO/include/kimera-vio/logging/Logger.h:25:0, from /cc_kimera/Kimera-VIO/include/kimera-vio/dataprovider/EurocDataProvider.h:36, from /cc_kimera/Kimera-VIO/src/dataprovider/EurocDataProvider.cpp:17: /cc_kimera/Kimera-VIO/include/kimera-vio/mesh/Mesh.h:23:10: fatal error: opencv2/viz/types.hpp: No such file or directory #include <opencv2/viz/types.hpp> // Just for color type. ^~~~~~~~~~~~~~~~~~~~~~~

I do not want to install or use this module (as well as VTK) as I'm trying to run this on a not-especially-powerful aarch64 device and I don't really care for this type of visualization.

Is there an easy way (e.g. a flag) to disable this as a build dependency? If not, how important is it for Kimera's core VIO operation and would it be simple to remove (for my use case)?