FCL compilation problems (noetic)

asked 2022-05-16 07:51:46 -0600

sasilva gravatar image

I have a code using FCL which I have been using in melodic with no issues. I am now trying to use it with noetic but I get the following errors while running 'catkin build':

````

/home/sasm/ros/noetic/system/src/pepper_pipeline/src/collision_counter.cpp: In function ‘int main(int, char**)’: /home/sasm/ros/noetic/system/src/pepper_pipeline/src/collision_counter.cpp:39:34: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _tp=""> class std::shared_ptr’ 39 | std::shared_ptr<fcl::cylinder> fetch_collision_solid_; | ^

/home/sasm/ros/noetic/system/src/pepper_pipeline/src/collision_counter.cpp:39:34: note: expected a type, got ‘Cylinder’ /home/sasm/ros/noetic/system/src/pepper_pipeline/src/collision_counter.cpp:40:34: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _tp=""> class std::shared_ptr’ 40 | std::shared_ptr<fcl::cylinder> agent_collision_solid_; | ^

````

I already followed this link http://wiki.ros.org/action/info/noeti... but still haven't been able to compile it correctly. Does someone know how to fix it?

edit retag flag offensive close merge delete