-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed building catkin! #525
Comments
it helped me |
Was the solution to this just resourcing /opt/ros/kinetic/setup.bash because when I did that it still didn't fix the error. |
I have ROS melodic, and I tried sourcing /opt/ros/melodic/setup.bash. It still didn't work. |
In my case, incomplete ROS setup. rosdep update now it works. |
I was moving a workspace to a different machine and encountered this. Deleting the below directories fixed it after the above suggestions failed. Obviously back these up just in case there's something you need.
Leaving only src/ behind. |
For me the issue was I was using |
In my case I extended the configuration of catkin (same to source) explicitly: |
I'm getting this: |
Have you found a solution by any chance? I am having the same issue! |
Did you source the /opt/ros space before trying to build? |
same problem |
@dvogureckiy99 then same question; Did you source the workspace in /opt/ros before trying to build? |
I have ros humble and I don't have it in /opt/ros/. |
Do you build everything from source? If yes, does your workspace contain the catkin package (https://github.com/ros/catkin)? |
Ok, I added it |
It looks like there is a package in your workspace that requires solo12dof_quadruped but your workspace does not contain this package. Please make sure that all packages required by your packages are present. You can usually check the dependencies in the package.xml filles. |
Got the same error here. I think it's about one line installing after installing the environment and dependencies for building packages again https://wiki.ros.org/noetic/Installation/Ubuntu from official site. Problem solved. Using ros1 neotic with ubuntu 20.04 in wsl |
I'm trying to install ROS on my Ubuntu 16.04 to use the simulator Gazebo. First of all i tried to run a script that installs everything, then i got a error at the end of it. So i decided to install ROS directly from the instructions in their website, but i got the same error. Then i followed other tutorials, tried to find someone who had the same issue but no way! My last chance is here.. I gess the problem CMake, i use python3 and i installed all necessary libraries.
Profile: default
Extending: None
Workspace: /home/stribuda
Build Space: [exists] /home/stribuda/build
Devel Space: [exists] /home/stribuda/devel
Install Space: [unused] /home/stribuda/install
Log Space: [exists] /home/stribuda/logs
Source Space: [exists] /home/stribuda/src
DESTDIR: [unused] None
Devel Space Layout: linked
Install Space Layout: None
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
Whitelisted Packages: None
Blacklisted Packages: None
NOTE: Forcing CMake to run for each package.
WARNING: Your workspace is not extending any other
result space, but it is set to use a
linked
devel space layout. This requires the
catkin
CMake package in your source space in order to be
built.
[build] Found '1' packages in 0.0 seconds.
[build] Package table is up to date.
Warning: generated devel space setup files have been deleted.
Starting >>> catkin_tools_prebuild
Errors << catkin_tools_prebuild:cmake /home/stribuda/logs/catkin_tools_prebuild/build.cmake.013.log
CMake Error at /home/stribuda/build/catkin_tools_prebuild/CMakeLists.txt:12 (message):
The catkin CMake module was not found, but it is required to build a linked
workspace. To resolve this, please do one of the following, and try
building again.
Source the setup.sh file from an existing catkin workspace:
source SETUP_FILE
Extend another catkin workspace's result (install or devel) space:
catkin config --extend RESULT_SPACE
Set
catkin_DIR
to the directory containingcatkin-config.cmake
:catkin config --cmake-args -Dcatkin_DIR=CATKIN_CMAKE_CONFIG_PATH
Add the catkin source package to your workspace's source space:
cd SOURCE_SPACE && git clone https://github.com/ros/catkin.git
cd /home/stribuda/build/catkin_tools_prebuild; catkin build --get-env catkin_tools_prebuild | catkin env -si /usr/bin/cmake /home/stribuda/build/catkin_tools_prebuild --no-warn- unused-cli -DCATKIN_DEVEL_PREFIX=/home/stribuda/devel/.private/catkin_tools_prebuild -DCMAKE_INSTALL_PREFIX=/home/stribuda/install; cd -
Failed << catkin_tools_prebuild:cmake [ Exited with code 1 ]
Failed <<< catkin_tools_prebuild [ 0.0 seconds ]
Abandoned <<< px4 [ Unrelated job failed ]
[build] Summary: 0 of 2 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: 1 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 0.1 seconds total
..............................................................................
If someone can help, it would be very helpful! Thanks
The text was updated successfully, but these errors were encountered: