Skip to content

Can I compile Kimera without the OpenCV viz module? #229

Open
@sarika93

Description

@sarika93

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)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions