[ros-users] PCL compile problem

Patrick Beeson beeson.p at gmail.com
Thu May 13 17:16:41 UTC 2010


I should have been more clear.  PCL trunk no longer compiles (against 
ros common/common_msgs latest).  Perhaps it does compile against ros 
trunk.  Should have caught this myself.  I'll go back to PCL latest. 
(starting to get confusing keeping around boxturtle, latest,and trunk 
versions for maintaining stable packages and developing new ones for 
C-turtle release).



On 05/13/2010 12:14 PM, Radu Bogdan Rusu wrote:
> Patrick,
>
> Thanks for the report. We've done some changes in dynamic_reconfigure to allow multiple files that include configuration
> files generated by it to link together nicely. This is all part of a bigger move to get some of those pesky template
> specializations into .cpp files, so that the whole library compiles faster.
>
> Can you please upgrade to driver_common latest (or trunk if you feel adventurous :)) and try again? I'll also make a PCL
> release later today.
>
> Cheers,
> Radu.
>
> On 05/13/2010 10:01 AM, Patrick Beeson wrote:
>> PCL is no longer compiling. I don't have much time to figure out why and
>> fix it.
>>
>> make output:
>>
>> Linking CXX shared library ../lib/libpcl_filters.so
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o: In
>> function `pcl::FilterConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FilterConfig&, pcl::FilterConfig const&,
>> pcl::FilterConfig const&) const':
>> /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:113:
>> multiple definition of
>> `pcl::FilterConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FilterConfig&, pcl::FilterConfig const&,
>> pcl::FilterConfig const&) const'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FilterConfig.h:305:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:671:
>> multiple definition of `pcl::FilterConfig::__param_descriptions__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:223:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:113:
>> multiple definition of `pcl::FilterConfig::__initialized__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FilterConfig.h:305:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/src/pcl/filters/extract_indices.cpp:66:
>> multiple definition of `pcl::FilterConfig::__init_mutex__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/c++/4.4/bits/vector.tcc:295:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:150:
>> multiple definition of `pcl::FilterConfig::__min__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/c++/4.4/bits/stl_algobase.h:545:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/usr/include/c++/4.4/bits/vector.tcc:413:
>> multiple definition of `pcl::FilterConfig::__max__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:228:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:675:
>> multiple definition of `pcl::FilterConfig::__default__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:223:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/usr/include/c++/4.4/ext/new_allocator.h:95:
>> multiple definition of `pcl::FilterConfig::__description_message__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:264:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o: In function
>> `pcl::FilterConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FilterConfig&, pcl::FilterConfig const&,
>> pcl::FilterConfig const&) const':
>> /usr/include/boost/exception/exception.hpp:335: multiple definition of
>> `pcl::FilterConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FilterConfig&, pcl::FilterConfig const&,
>> pcl::FilterConfig const&) const'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FilterConfig.h:305:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o: In function
>> `pcl::ExtractIndicesConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::ExtractIndicesConfig&, pcl::ExtractIndicesConfig const&,
>> pcl::ExtractIndicesConfig const&) const':
>> /net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/ExtractIndicesConfig.h:285:
>> multiple definition of
>> `pcl::ExtractIndicesConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::ExtractIndicesConfig&, pcl::ExtractIndicesConfig const&,
>> pcl::ExtractIndicesConfig const&) const'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/ExtractIndicesConfig.h:285:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/usr/include/boost/function/function_base.hpp:288:
>> multiple definition of `pcl::FilterConfig::__param_descriptions__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:223:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o: In function
>> `pcl::Filter<sensor_msgs::PointCloud2_<std::allocator<void>   >
>>    >::getFilterLimits(double&, double&)':
>> /usr/include/c++/4.4/ext/new_allocator.h:95: multiple definition of
>> `pcl::FilterConfig::__description_message__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:264:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/usr/include/boost/exception/exception.hpp:335:
>> multiple definition of `pcl::FilterConfig::__initialized__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FilterConfig.h:305:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/ExtractIndicesConfig.h:285:
>> multiple definition of `pcl::FilterConfig::__init_mutex__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/c++/4.4/bits/vector.tcc:295:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/usr/include/boost/function/function_template.hpp:503:
>> multiple definition of `pcl::FilterConfig::__min__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/c++/4.4/bits/stl_algobase.h:545:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/src/pcl/filters/filter.cpp:104:
>> multiple definition of `pcl::FilterConfig::__max__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:228:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/usr/include/boost/function/function_template.hpp:503:
>> multiple definition of `pcl::FilterConfig::__default__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:223:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:339:
>> multiple definition of `pcl::ExtractIndicesConfig::__init_mutex__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/usr/include/c++/4.4/bits/stl_algobase.h:690:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:741:
>> multiple definition of `pcl::ExtractIndicesConfig::__param_descriptions__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:66:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:339:
>> multiple definition of `pcl::ExtractIndicesConfig::__description_message__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/usr/include/c++/4.4/bits/stl_vector.h:1139:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:189:
>> multiple definition of `pcl::ExtractIndicesConfig::__initialized__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:66:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/opt/ros/latest/stacks/driver_common/dynamic_reconfigure/msg_gen/cpp/include/dynamic_reconfigure/DoubleParameter.h:23:
>> multiple definition of `pcl::ExtractIndicesConfig::__max__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/opt/ros/latest/ros/core/roscpp/include/ros/message.h:50:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:671:
>> multiple definition of `pcl::ExtractIndicesConfig::__min__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:263:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:671:
>> multiple definition of `pcl::ExtractIndicesConfig::__default__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/extract_indices.o:/opt/ros/latest/stacks/driver_common/dynamic_reconfigure/msg_gen/cpp/include/dynamic_reconfigure/StrParameter.h:23:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function `pcl::FilterConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FilterConfig&, pcl::FilterConfig const&,
>> pcl::FilterConfig const&) const':
>> /usr/include/boost/exception/exception.hpp:335: multiple definition of
>> `pcl::FilterConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FilterConfig&, pcl::FilterConfig const&,
>> pcl::FilterConfig const&) const'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FilterConfig.h:305:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function `pcl::FeatureConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FeatureConfig&, pcl::FeatureConfig const&,
>> pcl::FeatureConfig const&) const':
>> /net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FeatureConfig.h:295:
>> multiple definition of
>> `pcl::FeatureConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FeatureConfig&, pcl::FeatureConfig const&,
>> pcl::FeatureConfig const&) const'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FeatureConfig.h:295:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function `shared_ptr':
>> /usr/include/boost/smart_ptr/shared_ptr.hpp:169: multiple definition of
>> `pcl::FilterConfig::__param_descriptions__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:223:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o:/usr/include/boost/exception/exception.hpp:335:
>> multiple definition of `pcl::FilterConfig::__initialized__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FilterConfig.h:305:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function
>> `std::vector<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>,
>> std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>   >
>>    >::_M_insert_aux(__gnu_cxx::__normal_iterator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>*, std::vector<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>, std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>   >   >   >, boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>   const&)':
>> /usr/include/c++/4.4/bits/vector.tcc:295: multiple definition of
>> `pcl::FilterConfig::__init_mutex__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/c++/4.4/bits/vector.tcc:295:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function `atomic_increment':
>> /usr/include/c++/4.4/bits/stl_uninitialized.h:74: multiple definition of
>> `pcl::FilterConfig::__min__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/c++/4.4/bits/stl_algobase.h:545:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function
>> `std::vector<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>,
>> std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>   >
>>    >::_M_insert_aux(__gnu_cxx::__normal_iterator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>*, std::vector<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>, std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>   >   >   >, boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>   const&)':
>> /usr/include/boost/smart_ptr/detail/shared_count.hpp:223: multiple
>> definition of `pcl::FilterConfig::__max__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:228:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function `__copy_move_b<boost::shared_ptr<const
>> pcl::FilterConfig::AbstractParamDescription>*, boost::shared_ptr<const
>> pcl::FilterConfig::AbstractParamDescription>*>':
>> /usr/include/c++/4.4/bits/stl_algobase.h:546: multiple definition of
>> `pcl::FilterConfig::__default__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:223:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function `swap<const pcl::FilterConfig::AbstractParamDescription*>':
>> /opt/ros/latest/stacks/driver_common/dynamic_reconfigure/msg_gen/cpp/include/dynamic_reconfigure/Config.h:29:
>> multiple definition of `pcl::FilterConfig::__description_message__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:264:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function `__destroy<boost::shared_ptr<const
>> pcl::FilterConfig::AbstractParamDescription>*>':
>> /opt/ros/latest/ros/core/roslib/include/ros/serialization.h:149:
>> multiple definition of `pcl::FeatureConfig::__init_mutex__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/usr/include/c++/4.4/bits/char_traits.h:259:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function
>> `std::vector<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>,
>> std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>   >
>>    >::_M_insert_aux(__gnu_cxx::__normal_iterator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>*, std::vector<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>, std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>   >   >   >, boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>   const&)':
>> /usr/include/c++/4.4/bits/stl_algobase.h:758: multiple definition of
>> `pcl::FeatureConfig::__param_descriptions__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:189:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function
>> `std::_Vector_base<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>,
>> std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>   >   >::_M_allocate(unsigned long)':
>> /opt/ros/latest/ros/core/roslib/include/ros/serialization.h:741:
>> multiple definition of `pcl::FeatureConfig::__description_message__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/usr/include/c++/4.4/bits/stl_vector.h:533:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function `__destroy<boost::shared_ptr<const
>> pcl::FilterConfig::AbstractParamDescription>*>':
>> /usr/include/boost/function/function_template.hpp:854: multiple
>> definition of `pcl::FeatureConfig::__initialized__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:(.bss+0x738): first
>> defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function
>> `std::_Vector_base<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>,
>> std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>   >   >::_M_allocate(unsigned long)':
>> /usr/include/c++/4.4/bits/vector.tcc:342: multiple definition of
>> `pcl::FeatureConfig::__max__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:149:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function
>> `std::vector<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>,
>> std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>   >   >::_M_check_len(unsigned long, char const*) const':
>> /opt/ros/latest/ros/core/roslib/include/ros/serialization.h:773:
>> multiple definition of `pcl::FeatureConfig::__min__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/usr/include/c++/4.4/bits/stl_vector.h:951:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/project_inliers.o: In
>> function
>> `std::vector<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>,
>> std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>   >
>>    >::_M_insert_aux(__gnu_cxx::__normal_iterator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>*, std::vector<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>, std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>   >   >   >, boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>   const&)':
>> /usr/include/boost/function/function_template.hpp:980: multiple
>> definition of `pcl::FeatureConfig::__default__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/usr/include/c++/4.4/bits/stl_construct.h:83:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/radius_outlier_removal.o: In
>> function `pcl::FilterConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FilterConfig&, pcl::FilterConfig const&,
>> pcl::FilterConfig const&) const':
>> /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:114:
>> multiple definition of
>> `pcl::FilterConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FilterConfig&, pcl::FilterConfig const&,
>> pcl::FilterConfig const&) const'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FilterConfig.h:305:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/radius_outlier_removal.o: In
>> function `shared_count':
>> /opt/ros/latest/stacks/driver_common/dynamic_reconfigure/msg_gen/cpp/include/dynamic_reconfigure/ParamDescription.h:18:
>> multiple definition of `pcl::FilterConfig::__param_descriptions__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:223:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/radius_outlier_removal.o:/usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:114:
>> multiple definition of `pcl::FilterConfig::__initialized__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FilterConfig.h:305:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/radius_outlier_removal.o: In
>> function
>> `std::vector<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>,
>> std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>   >
>>    >::_M_insert_aux(__gnu_cxx::__normal_iterator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>*, std::vector<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>, std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>   >   >   >, boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>   const&)':
>> /opt/ros/latest/ros/core/roscpp/include/ros/message.h:50: multiple
>> definition of `pcl::FilterConfig::__init_mutex__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/c++/4.4/bits/vector.tcc:295:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/radius_outlier_removal.o: In
>> function `__copy_move_b<boost::shared_ptr<const
>> pcl::FilterConfig::AbstractParamDescription>*, boost::shared_ptr<const
>> pcl::FilterConfig::AbstractParamDescription>*>':
>> /opt/ros/latest/ros/core/roslib/include/ros/serialization.h:150:
>> multiple definition of `pcl::FilterConfig::__min__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/c++/4.4/bits/stl_algobase.h:545:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/radius_outlier_removal.o: In
>> function `shared_count':
>> /usr/include/boost/smart_ptr/detail/shared_count.hpp:228: multiple
>> definition of `pcl::FilterConfig::__max__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:228:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/radius_outlier_removal.o: In
>> function `shared_count':
>> /usr/include/c++/4.4/bits/stl_vector.h:1151: multiple definition of
>> `pcl::FilterConfig::__default__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:223:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/radius_outlier_removal.o: In
>> function `boost::detail::shared_count::swap(boost::detail::shared_count&)':
>> /usr/include/c++/4.4/ext/new_allocator.h:95: multiple definition of
>> `pcl::FilterConfig::__description_message__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:264:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/statistical_outlier_removal.o: In
>> function `pcl::FilterConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FilterConfig&, pcl::FilterConfig const&,
>> pcl::FilterConfig const&) const':
>> /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:114:
>> multiple definition of
>> `pcl::FilterConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FilterConfig&, pcl::FilterConfig const&,
>> pcl::FilterConfig const&) const'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FilterConfig.h:305:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/statistical_outlier_removal.o: In
>> function `shared_count':
>> /opt/ros/latest/stacks/driver_common/dynamic_reconfigure/msg_gen/cpp/include/dynamic_reconfigure/ParamDescription.h:18:
>> multiple definition of `pcl::FilterConfig::__param_descriptions__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:223:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/statistical_outlier_removal.o:/usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:114:
>> multiple definition of `pcl::FilterConfig::__initialized__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FilterConfig.h:305:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/statistical_outlier_removal.o: In
>> function
>> `std::vector<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>,
>> std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription
>> const>   >
>>    >::_M_insert_aux(__gnu_cxx::__normal_iterator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>*, std::vector<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>, std::allocator<boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>   >   >   >, boost::shared_ptr<pcl::FilterConfig::AbstractParamDescription const>   const&)':
>> /opt/ros/latest/ros/core/roscpp/include/ros/message.h:50: multiple
>> definition of `pcl::FilterConfig::__init_mutex__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/c++/4.4/bits/vector.tcc:295:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/statistical_outlier_removal.o: In
>> function `__copy_move_b<boost::shared_ptr<const
>> pcl::FilterConfig::AbstractParamDescription>*, boost::shared_ptr<const
>> pcl::FilterConfig::AbstractParamDescription>*>':
>> /opt/ros/latest/ros/core/roslib/include/ros/serialization.h:150:
>> multiple definition of `pcl::FilterConfig::__min__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/c++/4.4/bits/stl_algobase.h:545:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/statistical_outlier_removal.o: In
>> function `shared_count':
>> /usr/include/boost/smart_ptr/detail/shared_count.hpp:228: multiple
>> definition of `pcl::FilterConfig::__max__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:228:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/statistical_outlier_removal.o: In
>> function `shared_count':
>> /usr/include/c++/4.4/bits/stl_vector.h:1151: multiple definition of
>> `pcl::FilterConfig::__default__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:223:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/statistical_outlier_removal.o: In
>> function `boost::detail::shared_count::swap(boost::detail::shared_count&)':
>> /usr/include/c++/4.4/ext/new_allocator.h:95: multiple definition of
>> `pcl::FilterConfig::__description_message__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:264:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `pcl::FilterConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FilterConfig&, pcl::FilterConfig const&,
>> pcl::FilterConfig const&) const':
>> /usr/include/boost/exception/exception.hpp:335: multiple definition of
>> `pcl::FilterConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::FilterConfig&, pcl::FilterConfig const&,
>> pcl::FilterConfig const&) const'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FilterConfig.h:305:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `pcl::VoxelGridConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::VoxelGridConfig&, pcl::VoxelGridConfig const&,
>> pcl::VoxelGridConfig const&) const':
>> /net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/VoxelGridConfig.h:315:
>> multiple definition of
>> `pcl::VoxelGridConfig::ParamDescription<std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>   >
>>    >::clamp(pcl::VoxelGridConfig&, pcl::VoxelGridConfig const&,
>> pcl::VoxelGridConfig const&) const'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/VoxelGridConfig.h:315:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `boost::detail::sp_counted_base::release()':
>> /usr/include/c++/4.4/bits/vector.tcc:330: multiple definition of
>> `pcl::VoxelGridConfig::__param_descriptions__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:149:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `shared_ptr':
>> /usr/include/boost/smart_ptr/shared_ptr.hpp:169: multiple definition of
>> `pcl::FilterConfig::__param_descriptions__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:223:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `boost::detail::sp_counted_base::weak_release()':
>> /usr/include/c++/4.4/bits/basic_string.h:506: multiple definition of
>> `pcl::VoxelGridConfig::__description_message__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/src/pcl/filters/filter.cpp:210:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `std::vector<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription
>> const>,
>> std::allocator<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription
>> const>   >
>>    >::_M_insert_aux(__gnu_cxx::__normal_iterator<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>*, std::vector<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>, std::allocator<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>   >   >   >, boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>   const&)':
>> /usr/include/c++/4.4/bits/vector.tcc:364: multiple definition of
>> `pcl::VoxelGridConfig::__min__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:741:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `boost::detail::sp_counted_base::weak_release()':
>> /opt/ros/latest/ros/core/roslib/include/ros/serialization.h:773:
>> multiple definition of `pcl::VoxelGridConfig::__max__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:773:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `std::vector<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription
>> const>,
>> std::allocator<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription
>> const>   >
>>    >::_M_insert_aux(__gnu_cxx::__normal_iterator<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>*, std::vector<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>, std::allocator<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>   >   >   >, boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>   const&)':
>> /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:50:
>> multiple definition of `pcl::VoxelGridConfig::__initialized__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/usr/include/c++/4.4/bits/vector.tcc:323:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `atomic_exchange_and_add':
>> /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:50:
>> multiple definition of `pcl::VoxelGridConfig::__init_mutex__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/opt/ros/latest/ros/core/roslib/include/ros/serialization.h:149:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `boost::detail::sp_counted_base::release()':
>> /usr/include/c++/4.4/bits/stl_construct.h:83: multiple definition of
>> `pcl::VoxelGridConfig::__default__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/filter.o:/usr/include/c++/4.4/bits/vector.tcc:431:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o:/usr/include/boost/exception/exception.hpp:335:
>> multiple definition of `pcl::FilterConfig::__initialized__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/net/home/pbeeson/ros-test/point_cloud_perception/pcl/cfg/cpp/pcl/FilterConfig.h:305:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `std::vector<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription
>> const>,
>> std::allocator<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription
>> const>   >
>>    >::_M_insert_aux(__gnu_cxx::__normal_iterator<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>*, std::vector<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>, std::allocator<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>   >   >   >, boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>   const&)':
>> /usr/include/c++/4.4/bits/vector.tcc:295: multiple definition of
>> `pcl::FilterConfig::__init_mutex__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/c++/4.4/bits/vector.tcc:295:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `atomic_increment':
>> /opt/ros/latest/ros/core/roslib/include/ros/serialization.h:150:
>> multiple definition of `pcl::FilterConfig::__min__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/c++/4.4/bits/stl_algobase.h:545:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `std::vector<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription
>> const>,
>> std::allocator<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription
>> const>   >
>>    >::_M_insert_aux(__gnu_cxx::__normal_iterator<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>*, std::vector<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>, std::allocator<boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>   >   >   >, boost::shared_ptr<pcl::VoxelGridConfig::AbstractParamDescription const>   const&)':
>> /usr/include/c++/4.4/bits/vector.tcc:413: multiple definition of
>> `pcl::FilterConfig::__max__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:228:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `__copy_move_b<boost::shared_ptr<const
>> pcl::VoxelGridConfig::AbstractParamDescription>*,
>> boost::shared_ptr<const pcl::VoxelGridConfig::AbstractParamDescription>*>':
>> /usr/include/c++/4.4/bits/stl_algobase.h:545: multiple definition of
>> `pcl::FilterConfig::__default__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:223:
>> first defined here
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/voxel_grid.o: In function
>> `atomic_exchange_and_add':
>> /usr/include/c++/4.4/ext/new_allocator.h:95: multiple definition of
>> `pcl::FilterConfig::__description_message__'
>> CMakeFiles/pcl_filters.dir/src/pcl/filters/passthrough.o:/usr/include/boost/smart_ptr/detail/shared_count.hpp:264:
>> first defined here
>> collect2: ld returned 1 exit status
>> make[3]: *** [../lib/libpcl_filters.so] Error 1
>> make[3]: Leaving directory
>> `/net/home/pbeeson/ros-test/point_cloud_perception/pcl/build'
>> make[2]: *** [CMakeFiles/pcl_filters.dir/all] Error 2
>> make[2]: Leaving directory
>> `/net/home/pbeeson/ros-test/point_cloud_perception/pcl/build'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory
>> `/net/home/pbeeson/ros-test/point_cloud_perception/pcl/build'
>> make: *** [all] Error 2
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>



More information about the ros-users mailing list