Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error #13

Open
7DoF opened this issue Jul 21, 2023 · 0 comments
Open

build error #13

7DoF opened this issue Jul 21, 2023 · 0 comments

Comments

@7DoF
Copy link

7DoF commented Jul 21, 2023

Hi, I am trying to build this package but each time i do, i get an error:

/usr/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:3: warning: ‘pcl::SAC_SAMPLE_SIZE’ is deprecated: This map is deprecated and is kept only to prevent breaking existing user code. Starting from PCL 1.8.0 model sample size is a protected member of the SampleConsensusModel class [-Wdeprecated-declarations]
   SAC_SAMPLE_SIZE (sample_size_pairs, sample_size_pairs + sizeof (sample_size_pairs) / sizeof (SampleSizeModel));
   ^~~~~~~~~~~~~~~
/usr/include/pcl-1.8/pcl/sample_consensus/model_types.h:99:3: note: declared here
[100%] Linking CXX executable /home/dof/aabb/devel/lib/oa_licalib/li_calib_node
CMakeFiles/li_calib_node.dir/src/app/li_calib_node.cpp.o: In function `YAML::TypedBadConversion<int>::~TypedBadConversion()':
li_calib_node.cpp:(.text._ZN4YAML18TypedBadConversionIiED2Ev[_ZN4YAML18TypedBadConversionIiED5Ev]+0xb): undefined reference to `YAML::BadConversion::~BadConversion()'
CMakeFiles/li_calib_node.dir/src/app/li_calib_node.cpp.o: In function `YAML::TypedBadConversion<int>::~TypedBadConversion()':
li_calib_node.cpp:(.text._ZN4YAML18TypedBadConversionIiED0Ev[_ZN4YAML18TypedBadConversionIiED5Ev]+0xf): undefined reference to `YAML::BadConversion::~BadConversion()'
CMakeFiles/li_calib_node.dir/src/app/li_calib_node.cpp.o: In function `YAML::TypedBadConversion<bool>::~TypedBadConversion()':
li_calib_node.cpp:(.text._ZN4YAML18TypedBadConversionIbED2Ev[_ZN4YAML18TypedBadConversionIbED5Ev]+0xb): undefined reference to `YAML::BadConversion::~BadConversion()'
CMakeFiles/li_calib_node.dir/src/app/li_calib_node.cpp.o: In function `YAML::TypedBadConversion<bool>::~TypedBadConversion()':
li_calib_node.cpp:(.text._ZN4YAML18TypedBadConversionIbED0Ev[_ZN4YAML18TypedBadConversionIbED5Ev]+0xf): undefined reference to `YAML::BadConversion::~BadConversion()'
CMakeFiles/li_calib_node.dir/src/app/li_calib_node.cpp.o: In function `YAML::BadConversion::BadConversion(YAML::Mark const&)':
li_calib_node.cpp:(.text._ZN4YAML13BadConversionC2ERKNS_4MarkE[_ZN4YAML13BadConversionC5ERKNS_4MarkE]+0x5e): undefined reference to `vtable for YAML::BadConversion'
CMakeFiles/li_calib_node.dir/src/app/li_calib_node.cpp.o: In function `YAML::Node YAML::Node::operator[]<char [8]>(char const (&) [8])':
li_calib_node.cpp:(.text._ZN4YAML4NodeixIA8_cEES0_RKT_[_ZN4YAML4NodeixIA8_cEES0_RKT_]+0x2e8): undefined reference to `YAML::detail::node_data::convert_to_map(std::shared_ptr<YAML::detail::memory_holder> const&)'
CMakeFiles/li_calib_node.dir/src/app/li_calib_node.cpp.o:(.data.rel.ro._ZTIN4YAML18TypedBadConversionIbEE[_ZTIN4YAML18TypedBadConversionIbEE]+0x10): undefined reference to `typeinfo for YAML::BadConversion'
CMakeFiles/li_calib_node.dir/src/app/li_calib_node.cpp.o:(.data.rel.ro._ZTIN4YAML18TypedBadConversionIiEE[_ZTIN4YAML18TypedBadConversionIiEE]+0x10): undefined reference to `typeinfo for YAML::BadConversion'
CMakeFiles/li_calib_node.dir/src/calib/calib_helper.cpp.o: In function `YAML::TypedBadConversion<double>::~TypedBadConversion()':
calib_helper.cpp:(.text._ZN4YAML18TypedBadConversionIdED2Ev[_ZN4YAML18TypedBadConversionIdED5Ev]+0xb): undefined reference to `YAML::BadConversion::~BadConversion()'
CMakeFiles/li_calib_node.dir/src/calib/calib_helper.cpp.o: In function `YAML::TypedBadConversion<double>::~TypedBadConversion()':
calib_helper.cpp:(.text._ZN4YAML18TypedBadConversionIdED0Ev[_ZN4YAML18TypedBadConversionIdED5Ev]+0xf): undefined reference to `YAML::BadConversion::~BadConversion()'
CMakeFiles/li_calib_node.dir/src/calib/calib_helper.cpp.o: In function `YAML::TypedBadConversion<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~TypedBadConversion()':
calib_helper.cpp:(.text._ZN4YAML18TypedBadConversionINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev[_ZN4YAML18TypedBadConversionINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED5Ev]+0xb): undefined reference to `YAML::BadConversion::~BadConversion()'
CMakeFiles/li_calib_node.dir/src/calib/calib_helper.cpp.o: In function `YAML::TypedBadConversion<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~TypedBadConversion()':
calib_helper.cpp:(.text._ZN4YAML18TypedBadConversionINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED0Ev[_ZN4YAML18TypedBadConversionINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED5Ev]+0xf): undefined reference to `YAML::BadConversion::~BadConversion()'
CMakeFiles/li_calib_node.dir/src/calib/calib_helper.cpp.o: In function `YAML::Node::Scalar[abi:cxx11]() const':
calib_helper.cpp:(.text._ZNK4YAML4Node6ScalarB5cxx11Ev[_ZNK4YAML4Node6ScalarB5cxx11Ev]+0x21): undefined reference to `YAML::detail::node_data::empty_scalar[abi:cxx11]()'
CMakeFiles/li_calib_node.dir/src/calib/calib_helper.cpp.o:(.data.rel.ro._ZTIN4YAML18TypedBadConversionINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE[_ZTIN4YAML18TypedBadConversionINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE]+0x10): undefined reference to `typeinfo for YAML::BadConversion'
CMakeFiles/li_calib_node.dir/src/calib/calib_helper.cpp.o:(.data.rel.ro._ZTIN4YAML18TypedBadConversionIdEE[_ZTIN4YAML18TypedBadConversionIdEE]+0x10): undefined reference to `typeinfo for YAML::BadConversion'
collect2: error: ld returned 1 exit status
OA-LICalib/CMakeFiles/li_calib_node.dir/build.make:397: recipe for target '/home/dof/aabb/devel/lib/oa_licalib/li_calib_node' failed
make[2]: *** [/home/dof/aabb/devel/lib/oa_licalib/li_calib_node] Error 1
CMakeFiles/Makefile2:3243: recipe for target 'OA-LICalib/CMakeFiles/li_calib_node.dir/all' failed
make[1]: *** [OA-LICalib/CMakeFiles/li_calib_node.dir/all] Error 2
Makefile:143: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j12 -l12" failed

please share steps on how to fix this.
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant