【问题标题】:Unable to add a point cloud to PCL Visualizer in QVTKWidget无法在 QVTKWidget 中将点云添加到 PCL Visualizer
【发布时间】:2013-06-15 08:20:58
【问题描述】:

我正在尝试将点云添加到 pcl::visualization::PCLVisualizer 。我完全遵循了这篇文章中显示的内容: How to visualize a sequence of TOF-Sensor data in PCL (with Qt)??

但是,当我尝试在构造函数中添加点云时,它在 Boost 中某处的断言失败:

external.linux/include/boost/unordered/detail/table.hpp:387: std::size_t boost::unordered::detail::table<Types>::min_buckets_for_size(std::size_t) const [with Types = boost::unordered::detail::map<std::allocator<std::pair<const std::basic_string<char>, pcl::visualization::CloudActor> >, std::basic_string<char>, boost::hash<std::basic_string<char> >, std::equal_to<std::basic_string<char> > >, std::size_t = long unsigned int]: Assertion `this->mlf_ != 0' failed.

我不知道,这是怎么回事。有什么帮助吗?

【问题讨论】:

    标签: qt vtk point-cloud-library


    【解决方案1】:

    所以我想我已经弄清楚那个问题是什么了。我有使用 Boost 1.46(系统安装)编译的源代码构建的 VTK 和 PCL。然而,在我的项目中,一切都与 Boost 1.48 相关联。因此,PCL 编译时使用的 boost 版本与其链接的版本不同。

    【讨论】:

      猜你喜欢
      • 2018-11-19
      • 2013-08-15
      • 2013-12-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-03
      相关资源
      最近更新 更多