clone and build error
- Dominant language
- C++
- Stars
- 63
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
When I run the command `git clone git@github.com:lrse/ros-utils.git` I get the error `git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.`. Then I used: `git clone https://github.com/lrse/ros-utils.git`. After that, the same error ocurred with `git clone git@github.com:cifasis/sptam.git`, then I did `git clone https://github.com/lrse/sptam
` . `git checkout origin/adalessandro/dense-sptam -b adalessandro/dense-sptam` did not work. And finally, ignoring the last error and running ` sudo catkin build --cmake-args \
-DSHOW_TRACKED_FRAMES=OFF -DSHOW_PROFILING=OFF -DCMAKE_BUILD_TYPE=Release -DUSE_LOOPCLOSURE=OFF` gives me the message:
```
--------------------------------------------------------------------------------
Profile: default
Extending: None
Workspace: /home/adriel/catkin
--------------------------------------------------------------------------------
Build Space: [exists] /home/adriel/catkin/build
Devel Space: [exists] /home/adriel/catkin/devel
Install Space: [unused] /home/adriel/catkin/install
Log Space: [exists] /home/adriel/catkin/logs
Source Space: [exists] /home/adriel/catkin/src
DESTDIR: [unused] None
--------------------------------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
--------------------------------------------------------------------------------
Additional CMake Args: -DSHOW_TRACKED_FRAMES=OFF -DSHOW_PROFILING=OFF -DCMAKE_BUILD_TYPE=Release -DUSE_LOOPCLOSURE=OFF
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
--------------------------------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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 '2' 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/adriel/catkin/logs/catkin_tools_prebuild/build.cmake.007.log
CMake Error at /home/adriel/catkin/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.
1. Source the setup.sh file from an existing catkin workspace:
source SETUP_FILE
2. Extend another catkin workspace's result (install or devel) space:
catkin config --extend RESULT_SPACE
3. Set `catkin_DIR` to the directory containing `catkin-config.cmake`:
catkin config --cmake-args -Dcatkin_DIR=CATKIN_CMAKE_CONFIG_PATH
4. Add the catkin source package to your workspace's source space:
cd SOURCE_SPACE && git clone https://github.com/ros/catkin.git
cd /home/adriel/catkin/build/catkin_tools_prebuild; catkin build --get-env catkin_tools_prebuild | catkin env -si /usr/bin/cmake /home/adriel/catkin/build/catkin_tools_prebuild --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/adriel/catkin/devel/.private/catkin_tools_prebuild -DCMAKE_INSTALL_PREFIX=/home/adriel/catkin/install -DSHOW_TRACKED_FRAMES=OFF -DSHOW_PROFILING=OFF -DCMAKE_BUILD_TYPE=Release -DUSE_LOOPCLOSURE=OFF; cd -
...............................................................................
Failed << catkin_tools_prebuild:cmake [ Exited with code 1 ]
Failed <<< catkin_tools_prebuild [ 0.0 seconds ]
Abandoned <<< dense [ Unrelated job failed ]
Abandoned <<< ros_utils [ Unrelated job failed ]
[build] Summary: 0 of 3 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: 2 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 0.0 seconds total.
```
NOTE: I am using ROS melodic.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the catkin_tools_prebuild failure in logs/catkin_tools_prebuild/build.cmake.007.log and review the workspace configuration shown in the catkin build output. Check the clone URLs, branch checkout command, and ROS Melodic/catkin setup before rerunning the provided build command. Done means the dense and ros_utils packages build successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, git, github
- Domain
- build-system, robotics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100