Closed YXGuan closed 2 years ago
This is not an issue with robot_localization. Please ask your question on answers.ros.org.
@YXGuan I am having same error, can you suggest how you resolved it, if you did?
I get the same error building the package after Ive just installed it from source. The error means there are non catkin files in your package. I'm still in the process of figuring out which files those are.
@larryferguson the package builds on the ROS build farm. I'd say if anyone is being unhelpful, it's people posting troll comments instead of attempting to contribute fixes.
I've given many hundreds of hours of my own time to the development, maintenance, and support of this package. If you're unhappy with the level of free support provided, I recommend you write your own.
Sorry for my rudeness. I took out frustration towards you instead of the actual issue. I still disagree, this is the correct place to ask a question since it is directly about this package and that even when installed from source it will not catkin_make. I find that issue important to fix for the noetic version of this package.
The reason I direct people to answers.ros.org is that if others are having the same issue, the entire community benefits from the answer.
Can you cd to the robot_localization
directory on your machine and run git branch
? The default branch for rl
is ros2
, so if you don't explicity checkout noetic-devel
, it will see it as an ament package, which catkin doesn't understand.
@larryferguson @gupta-divi @YXGuan can you please confirm the branch of r_l
that you were trying to build? cd
to the r_l
directory and run git branch
.
My apologies for commenting on a closed issue, but I found this when I encountered this issue myself so I'm following up with a fix for others:
This error comes up for ROS 1 users if they (like me) accidentally leave their branch set to a ROS 2 branch (like the default one). ROS 2 uses ament
and so catkin
is nowhere to be found, hence the confusion for catkin_make
(or catkin build
). This is what ayrton04 mentioned on April 24th, and it seems safe to assume that's what everyone else here is encountering.
The fix is to make sure you're on a ROS 1 based branch (I used noetic-devel
) and then everything works fine.
Hi there,
I got a Cmake error when trying to build the robot_localization package on Noetic.
Your help would be much appreciated.
Below are the output in the terminal
yuxiang@yuxiang:~/catkin_ws$ catkin_make
yuxiang@yuxiang:~/catkin_ws$ catkin_make_isolated