pinocchio: C++ compilation error in ubuntu 18.04
Hi, I encountered a compilation error when I try to compile the c++ code on ubuntu 18.04:
` /opt/openrobots/include/pinocchio/parsers/urdf/geometry.hxx:256:7: error: template-id ‘getLinkGeometryurdf::Collision’ for ‘urdf::CollisionConstSharedPtr pinocchio::urdf::details::getLinkGeometry(urdf::LinkConstSharedPtr)’ does not match any template declaration getLinkGeometry< ::urdf::Collision>(const ::urdf::LinkConstSharedPtr link) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ’
But interestingly, when I tried on ubuntu 16.04, there is no error. Also no error happens when I use the python binding on 18.04, can anyone please help me?
Thanks!
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 24 (15 by maintainers)
Sadly, I don’t. v2.3.1 and current devel are incompatible and the Cmake cache difference from that difference is what caused the issue in my case.
I just ran into the same issue after pulling from devel and just calling make. The solution was to fully remove all build directories, then it worked again.
It seems that there is something wrong with the URDF parser, and I tested in ubuntu 16.04 and it indicates that it is not the problem with my code, so really weird