Skip to content

Build failure: nanoflann #319037

@SomeoneSerge

Description

@SomeoneSerge

Steps To Reproduce

Steps to reproduce the behavior:

  1. build nanoflann

Build log

https://gist.github.com/SomeoneSerge/a7d7908d266db9e6db5027504c93f2f4

/build/source/include/nanoflann.hpp:358:29: error: 'uint32_t' does not name a type
  358 |     typename AccessorType = uint32_t>
      |                             ^~~~~~~~
/build/source/include/nanoflann.hpp:53:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   52 | #include <functional>
  +++ |+#include <cstdint>
   53 | #include <istream>
...
/build/source/examples/pointcloud_adaptor_example.cpp:102:9: error: template argument 4 is invalid
/build/source/examples/pointcloud_adaptor_example.cpp:106:5: error: 'my_kd_tree_t' was not declared in this scope
  106 |     my_kd_tree_t index(3 /*dim*/, pc2kd, {10 /* max leaf */});
      |     ^~~~~~~~~~~~
/build/source/examples/pointcloud_adaptor_example.cpp:106:61: error: expected primary-expression before ')' token
  106 |     my_kd_tree_t index(3 /*dim*/, pc2kd, {10 /* max leaf */});
      |                                                             ^
/build/source/examples/pointcloud_adaptor_example.cpp:107:5: error: 'index' was not declared in this scope
  107 |     index.buildIndex();

Additional context

Notify maintainers

@AndersonTorres

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

f53d6a0d9e0b1c0183782cb3264f4d8c5a52225a

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions