-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[initCompute] Failed to allocate XXXXX indices. #6196
Comments
我采用vs2017,c++11,pcl1.9.1运行都正常,采用高版本c++17和cpl皆出现该问题 |
@wangzhenlin123 Please post your question and your comment in English. We do not offer support in Chinese. |
hello,I've tested VS2017, C++11, and PCL 1.9.1, and everything runs fine. However, when using higher versions like PCL 1.10.1, PCL 1.13.1, and PCL 1.14.1,c++17, the problem occurs. |
@wangzhenlin123 The error message comes from here: https://github.com/PointCloudLibrary/pcl/blob/master/common/include/pcl/impl/pcl_base.hpp#L164 |
Thank you for your reply. In fact, there are only 52928 data points, so there aren't as many as indicated. I'm also puzzled why it shows so many. |
|
@wangzhenlin123 Do you use CMake? If not, there are two things that might cause this problem:
CMake automatically handles all of this, which is why we recommend using it. |
Describe the bug
` pcl::PassThroughpcl::PointXYZ pass;
pass.setInputCloud(cloud);
// 设置要过滤的坐标轴和范围
pass.setFilterFieldName("z");
pass.setFilterLimits(0.0, 10.0);
pass.filter(*cloud_cut)
执行该段代码时候遇见此问题,参考https://blog.csdn.net/weixin_44338329/article/details/130293396,很多人遇见该问题至今并未解决。我已经测试过很多版本了。
Your Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: