PCL新编译 错误libboost_threadvc100mtgd1_51.lib(thread.obj)

换电脑了,pcl的环境要重新配置一下,采用vs2010 64位机,编译出现的第一个情况是libboost_thread-vc100-mt-gd-1_51.lib(thread.obj) : error LNK2019: ... "public: static class boost::chrono::time_point<class boost::chrono::system_clock,class boost::chrono::duration<__int64,class boost::ratio<1,10000000> > > _cdecl boost::chrono::system_clock::now(void)" (?now@system_clock@chrono@boost@SA?AV?$time_point@Vsystem_clock@chrono@boost@V?$duration@_JV?$ratio@$00$0JIJGIA@boost@23@23@XZ) in function "public: bool __thiscall boost::thread::try_join_until(class boost::chrono::time_point<class boost::chrono::system_clock,class boost::chrono::duration<_int64,class boost::ratio<1,1000000000> > > const &)" (?try_join_until@thread@boost@QAE_NABV?$time_point@Vsystem_clock@chrono@boost@V?$duration@_JV?$ratio@$00$0DLJKMKAA@boost@23@chrono@2@@Z)

这个解决办法是修改PCLConfig.cmake.in跟pcl_find_boost.cmake

具体参考http://dev.pointclouds.org/issues/741

修改参考http://dev.pointclouds.org/attachments/961?type=sbs

原文地址:https://www.cnblogs.com/fengbing/p/3108251.html