Skip to content

DISABLE_VTK not defined in new version of PCL library #795

@windelbouwman

Description

@windelbouwman

When compiling rtabmap with a newer version of the PCL library, the define DISABLE_VTK is not defined. This causes a compilation error in rtabmap.

For example, this piece of code does not compile when using the PCL library 1.10: https://github.com/introlab/rtabmap/blob/master/corelib/src/Parameters.cpp#L44

What's notable here, is that we use ifndef DISABLE_VTK, which is a double negation. Might it be good to use something like ifdef WITH_VTK, if this exists?

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