Undefined reference to Constructor and Destructor
Issue #57
closed
Hello,
- I'm currently using Trac_ik for a robot leg using ROS. To my understanding, I am declaring the CMAKELIST correctly. I followed the examples provided to properly setup Trac_ik in my class. However, for some reason I get the following errors while making the workspace:
-
undefined reference to `TRAC_IK::TRAC_IK::~TRAC_IK()'
-
undefined reference to `TRAC_IK::TRAC_IK::TRAC_IK(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, TRAC_IK::SolveType)'
I believe it might be a cmakelist linker issue, but I am not entirely sure... Honestly this error came a little out of nowhere. My cmakelist is attached:
Comments (3)
-
Account Deactivated -
Account Deactivated I will close this if I don't get any followup, as no one can reproduce this issue.
-
- changed status to closed
- Log in to comment
Are you using debs? Or compiling against source?
The public version of TRAC-IK has not changed in months so this likely is something on your machine. If you are using debs, I’d suggest an apt reinstall