Skip to content

Cannot link to Flann on Ubuntu 22.04 #1107

@galou

Description

@galou

I cannot compile OMPL in Ubuntu 22.04 since 9efd7aa (2023-10-26): ld.lld: error: unable to find library -lflann::flann.

To solve the issue, I used ${FLANN_LIBRARIES} instead of flann::flann, i.e. I replaced "$<$<BOOL:${OMPL_HAVE_FLANN}>:flann::flann>" with "$<$<BOOL:${OMPL_HAVE_FLANN}>:${FLANN_LIBRARIES}>" in src/ompl/CMakeLists.txt.

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