Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for Undefined symbols for architecture x86_64: "Nabo::NearestNeighbourSearch<double... when link to libpointmatcher #1117

Merged
merged 1 commit into from
Aug 27, 2023

Conversation

cdb0y511
Copy link
Contributor

When link to libpointmatcher master(https://github.com/ethz-asl/libpointmatcher) with libnabo master (https://github.com/ethz-asl/libnabo) compiler failed:

Undefined symbols for architecture x86_64:
"Nabo::NearestNeighbourSearch<double, Eigen::Matrix<double, -1, -1, 0, -1, -1> >::create(Eigen::Matrix<double, -1, -1, 0, -1, -1> const&, int, Nabo::NearestNeighbourSearch<double, Eigen::Matrix<double, -1, -1, 0, -1, -1> >::SearchType, unsigned int, ...

related to norlab-ulaval/libpointmatcher#514
and I employ a fix from norlab-ulaval/libpointmatcher#513 to fix this error.

@matlabbe
Copy link
Member

From https://github.com/ethz-asl/libpointmatcher/pull/513/files, it seems we would not need to explicitly link to libnabo anymore. nabo has been added as private dependency to libpointmatcher. If the checks pass, I'll merge your MR in case that an older libpointmatcher is used.

@matlabbe matlabbe merged commit 6a5b844 into introlab:master Aug 27, 2023
7 checks passed
@matlabbe
Copy link
Member

Thx for the PR!

matlabbe added a commit that referenced this pull request Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants