-
Notifications
You must be signed in to change notification settings - Fork 551
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
Undefined symbols for architecture x86_64: "Nabo::NearestNeighbourSearch<double, Eigen::Matrix<doubl... #514
Comments
It seems related to |
Worked totally fine on my Mac Book Pro running 13.4 but not on my old trashcan Mac. Is it possible it sees an old copy of libnabo from a previous libpointmatcher build from a few years ago?
On Jun 6, 2023, at 8:17 PM, François Pomerleau ***@***.***> wrote:
It seems related to libnabo not being found. Any idea what changed in your build procedure?
—
Reply to this email directly, view it on GitHub <#514 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACRPLIWWBQVOD6G2LLT4ZD3XJ7CBBANCNFSM6AAAAAAYXEYXXE>.
You are receiving this because you authored the thread.
|
Sure enough it did build if I don't build the examples using the cmake flag -DPOINTMATCHER_BUILD_EXAMPLES=OFF |
@drhalftone can you check if the proposed PR #513 resolve your issue? |
That seems to have worked for me hopefully it works for @drhalftone |
Should be resolved with #513 |
…hbourSearch related to norlab-ulaval/libpointmatcher#514 employ fix from norlab-ulaval/libpointmatcher#513
…hbourSearch (#1117) related to norlab-ulaval/libpointmatcher#514 employ fix from norlab-ulaval/libpointmatcher#513
I'm running the following:
Mac OS X version 12.6.6
gcc version Apple clang version 14.0.0 (clang-1400.0.29.202)
Homebrew 4.0.20
boost: stable 1.81.0 (bottled), HEAD
git version 2.40.1
cmake version 3.26.4
eigen: stable 3.4.0 (bottled), HEAD
Followed directions for Mac OS X and got down to this when making libpointmatcher:
[ 92%] Linking CXX executable icp_simple
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, Nabo::Parameters const&)", referenced from:
MatchersImpl::KDTreeMatcher::init(PointMatcher::DataPoints const&) in libpointmatcher.a(MatchersImpl.cpp.o)
MatchersImpl::KDTreeVarDistMatcher::init(PointMatcher::DataPoints const&) in libpointmatcher.a(MatchersImpl.cpp.o)
TensorVoting::computeKnn(PointMatcher::DataPoints const&) in libpointmatcher.a(Saliency.cpp.o)
TensorVoting::computeKnn(PointMatcher::DataPoints const&) in libpointmatcher.a(SpectralDecomposition.cpp.o)
"Nabo::NearestNeighbourSearch<float, Eigen::Matrix<float, -1, -1, 0, -1, -1> >::create(Eigen::Matrix<float, -1, -1, 0, -1, -1> const&, int, Nabo::NearestNeighbourSearch<float, Eigen::Matrix<float, -1, -1, 0, -1, -1> >::SearchType, unsigned int, Nabo::Parameters const&)", referenced from:
MatchersImpl::KDTreeMatcher::init(PointMatcher::DataPoints const&) in libpointmatcher.a(MatchersImpl.cpp.o)
MatchersImpl::KDTreeVarDistMatcher::init(PointMatcher::DataPoints const&) in libpointmatcher.a(MatchersImpl.cpp.o)
TensorVoting::computeKnn(PointMatcher::DataPoints const&) in libpointmatcher.a(Saliency.cpp.o)
TensorVoting::computeKnn(PointMatcher::DataPoints const&) in libpointmatcher.a(SpectralDecomposition.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: