ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
There are a couple things which confuse me about your post:
apt
)noetic
, but the install ros-geometry-msgs
, which is not a package in ROS Noetic (as that would be called ros-noetic-geometry_msgs
)/usr
, which are not normally paths used by / present in ROS distribution packages/opt/ros/noetic
, which is indeed where normal ROS Noetic package would end upAll-in-all, it's a bit of a mess.
Could it be you've (inadvertently) installed some UpstreamPackages?
If so, and you did not intent do: I'd suggest removing them and installing their Noetic counterparts.
If this is an OS that doesn't have binary packages of ROS Noetic and you used the upstream packages on purposes: don't mix-and-match. It doesn't work (reliably) as you've found out.
Also: don't manually manipulate your CMAKE_PREFIX_PATH
. If you find you have to do that, something else is not configured correctly. Manually changing it is not the solution.
PS: and pedantic, but: "CMake can't find geometry_msgs [..]", not "Catkin can't find [..]". It's all CMake. This has nothing to do with Catkin.
2 | No.2 Revision |
There are a couple things which confuse me about your post:
apt
)noetic
, but the install ros-geometry-msgs
, which is not a package in ROS Noetic (as that would be called ros-noetic-geometry_msgs
)/usr
, which are not normally paths used by / present in ROS distribution packages/opt/ros/noetic
, which is indeed where normal ROS Noetic package would end upadd_compile_options(..)
. That's never really a good idea, but probably an attempt to get things working?All-in-all, it's a bit of a mess.messy.
Could it be you've (inadvertently) installed some UpstreamPackages?
If so, and you did not intent do: I'd suggest removing them and installing their Noetic counterparts.
If this is an OS that doesn't have binary packages of ROS Noetic and you used the upstream packages on purposes: don't mix-and-match. It doesn't work (reliably) as you've found out.
Also: don't manually manipulate your CMAKE_PREFIX_PATH
. If you find you have to do that, something else is not configured correctly. Manually changing it is not the solution.
PS: and pedantic, but: "CMake can't find geometry_msgs [..]", not "Catkin can't find [..]". It's all CMake. This has nothing to do with Catkin.
3 | No.3 Revision |
There are a couple things which confuse me about your post:
apt
)noetic
, but the install ros-geometry-msgs
, which is not a package in ROS Noetic (as that would be called ros-noetic-geometry_msgs
)/usr
, which are not normally paths used by / present in ROS distribution packages/opt/ros/noetic
, which is indeed where normal ROS Noetic package would end upadd_compile_options(..)
. That's never really a good idea, but probably an attempt to get things working?All-in-all, it's a bit messy.
Could it be you've (inadvertently) installed some UpstreamPackages?
If so, and you did not intent do: to: I'd suggest removing them and installing their Noetic counterparts.
If this is an OS that doesn't have binary packages of ROS Noetic and you used the upstream packages on purposes: don't mix-and-match. It doesn't work (reliably) as you've found out.
Also: don't manually manipulate your CMAKE_PREFIX_PATH
. If you find you have to do that, something else is not configured correctly. Manually changing it is not the solution.
PS: and pedantic, but: "CMake can't find geometry_msgs [..]", not "Catkin can't find [..]". It's all CMake. This has nothing to do with Catkin.
4 | No.4 Revision |
There are a couple things which confuse me about your post:
apt
)noetic
, but ros-geometry-msgs
, which is not a package in ROS Noetic (as that would be called ros-noetic-geometry_msgsros-noetic-geometry-msgs
)/usr
, which are not normally paths used by / present in ROS distribution packages/opt/ros/noetic
, which is indeed where normal ROS Noetic package would end upadd_compile_options(..)
. That's never really a good idea, but probably an attempt to get things working?All-in-all, it's a bit messy.
Could it be you've (inadvertently) installed some UpstreamPackages?
If so, and you did not intent to: I'd suggest removing them and installing their Noetic counterparts.
If this is an OS that doesn't have binary packages of ROS Noetic and you used the upstream packages on purposes: don't mix-and-match. It doesn't work (reliably) as you've found out.
Also: don't manually manipulate your CMAKE_PREFIX_PATH
. If you find you have to do that, something else is not configured correctly. Manually changing it is not the solution.
PS: and pedantic, but: "CMake can't find geometry_msgs [..]", not "Catkin can't find [..]". It's all CMake. This has nothing to do with Catkin.