PCL compilation process

Source: Internet
Author: User

Boost Compilation installation package: http://boost.teeks99.com/

Boost Installation: http://blog.sina.com.cn/s/blog_7c48b0f10102v0zj.html

Boost Source Bundle: https://sourceforge.net/projects/boost/files/boost/

1. Questions

Libboost_thread-vc100-mt-gd-1_50.lib (thread.obj): Error lnk2019:external symbol"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) "([email protected][email protected]@[email protected]@[email protected][email protected]@[email protected]@[email Protected][email protected]$xx[Email Protected]@[email protected]@@ at@@ at@XZ) Not resolvedinchfunction"Public:bool __thiscall Boost::thread::try_join_until (class Boost::chrono::time_point<class Boost::chrono:: System_clock,class Boost::chrono::d uration<__int64,class boost::ratio<1,1000000000> > > Const &) "([email protected]@[email protected]@[email protected][email protected]@[email protected]@[email protected][email protected]$xx[Email Protected]@[email protected]@@ at@@[email protected]2@@z)3>c:\pcl\bin\pcl_octree_debug.dll:fatal Error LNK1120:1External not risolved

Put the Cmake/pcl_find_boost.cmake file in the

# Required boost Modules   1.40. 0

Revision changed to

# Required boost Modules   1.40. 0 REQUIRED Components system filesystem thread Date_time IOStreams chrono)  

The corresponding content in the Cmake/pcl_find_boost.cmake file is

# Required Boost ModulesSet(boost_required_modules system filesystem thread Date_time iostreams) # starting with BOOST1.50, Boost_thread depends on Chrono. As This  isNot # taken care of automatically in Windows, we add anExplicitDependency asa # workaround. if(WIN32 and Boost_version Version_greater"104900")    Set(Boost_required_modules ${boost_required_modules} chrono) endif (WIN32 and Boost_version version_greater"104900")

Reference: http://blog.csdn.net/lming_08/article/details/19114417

PCL compilation process

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.