2013-06-18 26 views
0

我正在嘗試將點雲添加到pcl::visualization::PCLVisualizer。我完全遵循這篇文章中顯示的內容: How to visualize a sequence of TOF-Sensor data in PCL (with Qt)?無法將點雲添加到QVTKWidget中的PCL展示臺

但是當我嘗試在構造函數中增加一個點雲,它的地方,失敗的斷言在升壓:

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. 

我不知道,這是什麼有關。請幫忙嗎?

回答

0

所以我想我已經找出了那個問題。我有從源代碼編譯的Boost 1.46(系統安裝)編譯的VTK和PCL。但在我的項目中,所有內容都與Boost 1.48相關聯。因此,PCL編譯時的版本與其鏈接的版本不同。

相關問題