3d - How to build PCL project -


i´ve been trying run 1 of point cloud library examples shown (http://pointclouds.org/documentation/tutorials/using_pcl_pcl_config.php#using-pcl-pcl-config) in pcl website whole morning , still can´t make run!

this did: i´ve installed point cloud library pcl 1.6.0 all-in-one installer msvs 2010 (64 bit) in computer, then, installed couple of libraries found needed (boost , eigen). after, have added dependencies , libraries needed in ms visual studio 2010 (plc, boost , eigen) , i´m still getting these annoying errors:

(i´ve tried using cmake gui windows reports lot of errors when generating project)

1>pcl.obj : error lnk2019: unresolved external symbol "void __cdecl pcl::console::print(enum pcl::console::verbosity_level,char const *,...)" (?print@console@pcl@@yaxw4verbosity_level@12@pbdzz) referenced in function _main

1>pcl.obj : error lnk2001: unresolved external symbol "public: virtual int __thiscall pcl::pcdreader::readheader(class std::basic_string,class std::allocator > const &,struct sensor_msgs::pointcloud2 &,class eigen::matrix &,class eigen::quaternion &,int &,int &,unsigned int &,int)" (?readheader@pcdreader@pcl@@uaehabv?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@aaupointcloud2@sensor_msgs@@aav?$matrix@m$03$00$0a@$03$00@eigen@@aav?$quaternion@m$0a@@8@aah4aaih@z)

1>pcl.obj : error lnk2001: unresolved external symbol "public: virtual int __thiscall pcl::pcdreader::read(class std::basic_string,class std::allocator > const &,struct sensor_msgs::pointcloud2 &,class eigen::matrix &,class eigen::quaternion &,int &,int)" (?read@pcdreader@pcl@@uaehabv?$basic_string@du?$char_traits@d@std@@v?$allocator@d@2@@std@@aaupointcloud2@sensor_msgs@@aav?$matrix@m$03$00$0a@$03$00@eigen@@aav?$quaternion@m$0a@@8@aahh@z)

any, appreciated. thing taking me many hours , driving me crazy.

thanks!!

you have linker error, missing lib file or not linking against them. or mixing 32bit , 64bit configurations , libs.

have done steps have described in this answer?

i recommend using all-in-one installer unless know how , why pcl needs 3rd party libraries.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -