Nearest-Neighbor (NN) search with KD-trees C++ library, tests
This project builds and defines the build2 package for nanoflann, a C++11 header-only library for Nearest Neighbor (NN) search with KD-trees.
Usage
Make sure to add the stable section of the cppget.org
repository to your project's repositories.manifest
to be able to fetch the package.
:
role: prerequisite
location: https://pkg.cppget.org/1/stable
# trust: ...
If the stable section of cppget.org
is not an option then add this Git repository itself instead as a prerequisite.
:
role: prerequisite
location: https://github.com/build2-packaging/nanoflann.git
Add the respective dependency in your project's manifest
file to make the package available for import.
depends: nanoflann ^1.6.0
The library can be imported by the following declaration in a buildfile
.
import nanoflann = nanoflann%lib{nanoflann}
Configuration
There are no configuration options available.
Issues
- FreeBSD, Clang, static, optimized: Error may occur during tests or installed tests:
ld: error: undefined symbol: pthread_create
- It seems that
pthread
is not correctly linked in the examples.
linux_debian_11-emcc_3.1.6
error (test):em++
seems not to be able to compilegtest
.
- Windows, MinGW, optimized: The
kdtree.SO2_vs_bruteforce
test may fail.
Contributing
Thank you in advance for your help and contribution to keep this package up-to-date.
Please, file an issue on GitHub for questions, bug reports, or to recommend updating the package version.
If you're making a pull request to fix bugs or update the package version yourself, refer to the build2
Packaging Guidelines.
license | BSD-2-Clause |
---|---|
project | nanoflann |
url | github.com/jlblancoc/nanoflann |
doc-url | jlblancoc.github.io/nanoflann/ |
joseluisblancoc@gmail.com |
version | 1.6.0 |
---|---|
repository | https://pkg.cppget.org/1/testing |
depends | 1; gtest |
reviews | 0 |
version | 1.5.4 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 1; gtest |
reviews | +1 |
version | 1.3.2 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 1; gtest |
reviews | +1 |
version | 1.5.0+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 1; gtest |
reviews | +1 |