unageek / fast-euclidean-clustering

🚀 Fast Euclidean clustering of point clouds ✨
MIT License
48 stars 6 forks source link

There is no definition pcl::index_t and pcl::UNAVAILABLE in pcl #1

Open Navifra-Denny opened 1 year ago

Navifra-Denny commented 1 year ago

pcl::index_t and pcl::UNAVAILABLE is not exist in pcl library

Google say pcl::index_t is in the pcl/types.h but when I include pcl/types.h, the error occur.

and pcl::UNAVAILABLE is not exist anywhere

where can I get those definitions?

unageek commented 1 year ago

That's strange. Could you share the full command line invoking the compiler?

gaofeihaha commented 10 months ago

the definition of pcl::index_t and pcl::UNAVAILABLE is in a high version pcl lib above 1.11 and 1.13。 But it is easy to replace pcl::index_t by int , and definite pcl::UNAVAILABLE as 'static constexpr int UNAVAILABLE = static_cast(-1)'