uzh-rpg / rpg_esim

ESIM: an Open Event Camera Simulator
MIT License
565 stars 120 forks source link

Error: catkin build esim_ros #116

Closed Fulmen67 closed 1 year ago

Fulmen67 commented 1 year ago

Hi,

I followed the tutorial until i reached this point:

~/sim_ws/ze_oss$ catkin build esim_ros
---------------------------------------------------------
Profile:                     default
Extending:        [explicit] /opt/ros/kinetic
Workspace:                   /home/youssef/sim_ws
---------------------------------------------------------
Build Space:        [exists] /home/youssef/sim_ws/build
Devel Space:        [exists] /home/youssef/sim_ws/devel
Install Space:      [unused] /home/youssef/sim_ws/install
Log Space:         [missing] /home/youssef/sim_ws/logs
Source Space:       [exists] /home/youssef/sim_ws/src
DESTDIR:            [unused] None
---------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
---------------------------------------------------------
Additional CMake Args:       -DCMAKE_BUILD_TYPE=Release
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
---------------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
---------------------------------------------------------
Workspace configuration appears valid.

NOTE: Forcing CMake to run for each package.
---------------------------------------------------------
[build] Found '14' packages in 0.0 seconds.                                              
[build] Updating package table.                                                          
Starting  >>> catkin_tools_prebuild                                                      
Finished  <<< catkin_tools_prebuild                [ 7.3 seconds ]                       
Starting  >>> esim_common                                                                
_________________________________________________________________________________________
Errors     << esim_common:cmake /home/youssef/sim_ws/logs/esim_common/build.cmake.000.log
CMake Error at /home/youssef/sim_ws/src/rpg_esim/event_camera_simulator/esim_common/CMakeLists.txt:4 (find_package):
  By not providing "Findcatkin_simple.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "catkin_simple", but CMake did not find one.

  Could not find a package configuration file provided by "catkin_simple"
  with any of the following names:

    catkin_simpleConfig.cmake
    catkin_simple-config.cmake

  Add the installation prefix of "catkin_simple" to CMAKE_PREFIX_PATH or set
  "catkin_simple_DIR" to a directory containing one of the above files.  If
  "catkin_simple" provides a separate development package or SDK, be sure it
  has been installed.

cd /home/youssef/sim_ws/build/esim_common; catkin build --get-env esim_common | catkin env -si  /usr/bin/cmake /home/youssef/sim_ws/src/rpg_esim/event_camera_simulator/esim_common --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/youssef/sim_ws/devel/.private/esim_common -DCMAKE_INSTALL_PREFIX=/home/youssef/sim_ws/install -DCMAKE_BUILD_TYPE=Release; cd -
.........................................................................................
Failed     << esim_common:cmake                    [ Exited with code 1 ]                
Failed    <<< esim_common                          [ 3.7 seconds ]                       
Abandoned <<< esim_msgs                            [ Unrelated job failed ]              
Abandoned <<< esim_unrealcv_bridge                 [ Unrelated job failed ]              
Abandoned <<< esim_rendering                       [ Unrelated job failed ]              
Abandoned <<< esim_trajectory                      [ Unrelated job failed ]              
Abandoned <<< esim_visualization                   [ Unrelated job failed ]              
Abandoned <<< imp_multi_objects_2d                 [ Unrelated job failed ]              
Abandoned <<< imp_opengl_renderer                  [ Unrelated job failed ]              
Abandoned <<< imp_panorama_renderer                [ Unrelated job failed ]              
Abandoned <<< imp_planar_renderer                  [ Unrelated job failed ]              
Abandoned <<< imp_unrealcv_renderer                [ Unrelated job failed ]              
Abandoned <<< esim_data_provider                   [ Unrelated job failed ]              
Abandoned <<< esim                                 [ Unrelated job failed ]              
Abandoned <<< esim_ros                             [ Unrelated job failed ]              
[build] Summary: 1 of 15 packages succeeded.                                             
[build]   Ignored:   None.                                                               
[build]   Warnings:  None.                                                               
[build]   Abandoned: 13 packages were abandoned.                                         
[build]   Failed:    1 packages failed.                                                  
[build] Runtime: 11.4 seconds total.                                                     
[build] Note: Workspace packages have changed, please re-source setup files to use them.

I am trying to install ESIM on Ubuntu 16.04.7 LTS (VirtualBox machine, 25GB hd and 2GB RAM allocated)

Appreciate any help,

Youssef

Fulmen67 commented 1 year ago

Solved. The repository was cloned under ~/sim_ws and not ~/sim_ws/src