Skip to content

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

Merged
matlabbe merged 1 commit intointrolab:masterfrom
cdb0y511:master
Aug 27, 2023
Merged

fix for Undefined symbols for architecture x86_64: "Nabo::NearestNeighbourSearch<double... when link to libpointmatcher#1117
matlabbe merged 1 commit intointrolab:masterfrom
cdb0y511:master

Conversation

@cdb0y511
Copy link
Copy Markdown
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
Copy Markdown
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
@matlabbe
Copy link
Copy Markdown
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.

2 participants