ethz-asl / ssc_exploration

Incremental 3D Scene Completion for Safe and Efficient Exploration Mapping and Planning
BSD 3-Clause "New" or "Revised" License
73 stars 9 forks source link

Error: The current devel space layout following install guide #1

Open lida2003 opened 1 week ago

lida2003 commented 1 week ago

Hi

I'm following 9 steps in installation guide, it popup an error in step 8.

I have to run catkin clean to clean all step 3. Is this normal?

Error: The current devel space layout, `linked`, is incompatible with the configured layout, `merged`.

and finally got

Failed     << minkindr_conversions:cmake                [ Exited with code 1 ]
Failed    <<< minkindr_conversions                      [ 3.0 seconds ]
Abandoned <<< voxblox                                   [ Unrelated job failed ]
Abandoned <<< active_3d_planning_ros                    [ Unrelated job failed ]
Abandoned <<< voxblox_rviz_plugin                       [ Unrelated job failed ]
Abandoned <<< voxblox_ros                               [ Unrelated job failed ]
Abandoned <<< active_3d_planning_voxblox                [ Unrelated job failed ]
Abandoned <<< ssc_mapping                               [ Unrelated job failed ]
Abandoned <<< ssc_planning                              [ Unrelated job failed ]
Finished  <<< active_3d_planning_core                   [ 1 minute and 12.8 seconds ]
[build] Summary: 10 of 18 packages succeeded.
[build]   Ignored:   9 packages were skipped or are skiplisted.
[build]   Warnings:  2 packages succeeded with warnings.
[build]   Abandoned: 7 packages were abandoned.
[build]   Failed:    1 packages failed.
[build] Runtime: 1 minute and 40.4 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.

Any idea?

daniel@nvidia:~/catkin_ws/src$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal
daniel@nvidia:~/catkin_ws/src$ uname -a
Linux nvidia 5.10.192-tegra #1 SMP PREEMPT Tue Apr 23 17:12:18 PDT 2024 aarch64 aarch64 aarch64 GNU/Linux
Schmluk commented 1 week ago

Hi @lida2003 ,

The layout of the devel spaces is unrelated to the project. We generally recommend using a merged devel layout, this is why it is added to the instructions if you're creating a new workspace. If you change the layout of the devel space then you always have to clean the existing builds. SC-Explorer should build and run just fine also in a linked devel space.

Hope this helps!

lida2003 commented 1 week ago

@Schmluk Thanks for the info.

I figured out there are some package missing during ros installation, as I didn't usd full installation.

It still get following warnings, maybe not a big issue for running the program. Is it mean that I can't see version info?

Warnings   << minkindr_conversions:cmake /home/daniel/catkin_ws/logs/minkindr_conversions/build.cmake.002.log
CMake Warning (dev) at CMakeLists.txt:2 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    CMAKE_PROJECT_VERSION
    CMAKE_PROJECT_VERSION_MAJOR
    CMAKE_PROJECT_VERSION_MINOR
    CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

cd /home/daniel/catkin_ws/build/minkindr_conversions; catkin build --get-env minkindr_conversions | catkin env -si  /usr/bin/cmake /home/daniel/catkin_ws/src/minkindr_ros/minkindr_conversions --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/daniel/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/daniel/catkin_ws/install -DCMAKE_BUILD_TYPE=Release; cd -