humanoid-path-planner / hpp-doc

Documentation for project Humanoid Path Planner
https://humanoid-path-planner.github.io/hpp-doc
ISC License
27 stars 23 forks source link

Issue during instalation : make errors #63

Closed GauDelpech closed 3 years ago

GauDelpech commented 3 years ago

Hi hpp team,

I'd like to try hpp to see if it could be a good tool to use in my project for trajectory generation aspects. For that, I tried to install hpp with its tutorials but I faced some issues.

First, I tried to follow the binary installation of the stable version of hpp but at step 3 the package "robotpkg-osg-dae" seems to be not found.

1

So I tried the source installation but some errors occured during step 7. At line "make iai_maps.install" this error occurs :

2

I also noticed that folders like hpp-tutorial or hpp-doc are missing in my folder $DEVEL_HPP_DIR/src.

Have you any idea of something that I could have done wrong ? Or that I should change ?

Thanks for your help, Gauthier

florent-lamiraux commented 3 years ago

Hello, Thank you for giving a try to our software. Can you cd into iai_maps/build-rel, type cmake .. and report the result ?

GauDelpech commented 3 years ago

Hello florent, thanks for your quick reaction.

Here is the full result of the command

CMake Error at CMakeLists.txt:19 (include):
  include could not find load file:

    cmake/portability.cmake

-- Using CATKIN_DEVEL_PREFIX: /home/demage/Documents/hpp/src/iai_maps/build-rel/devel
-- Using CMAKE_PREFIX_PATH: /home/demage/Documents/hpp/install;/opt/openrobots;/opt/ros/melodic;/usr
-- This workspace overlays: /opt/openrobots;/opt/ros/melodic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/demage/Documents/hpp/src/iai_maps/build-rel/test_results
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.28
-- BUILD_SHARED_LIBS is on
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/defs/util_defs.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/defs/ias_kitchen/materials.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/defs/ias_kitchen/furniture_defs.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/defs/ias_kitchen/oven_block.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/defs/ias_kitchen/sink_block.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/defs/ias_kitchen/small_table.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/defs/ias_kitchen/fridge_block.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/defs/ias_kitchen/table.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/defs/ias_kitchen/cuboid.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/defs/ias_kitchen/shopping_block.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/defs/ias_kitchen/island_block.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/defs/ias_kitchen/staircase.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/room/kitchen_area.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/room/staircase.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/room/floor_with_bar.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/room/table.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/room/table_with_pillar.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/room/srdf/kitchen_area.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/room/srdf/staircase.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/room/srdf/floor_with_bar.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/room/srdf/table.xacro ...
-- xacro: determining deps for: /home/demage/Documents/hpp/src/iai_maps/build-rel/room/srdf/table_with_pillar.xacro ...
-- Configuring incomplete, errors occurred!
See also "/home/demage/Documents/hpp/src/iai_maps/build-rel/CMakeFiles/CMakeOutput.log".
See also "/home/demage/Documents/hpp/src/iai_maps/build-rel/CMakeFiles/CMakeError.log".
florent-lamiraux commented 3 years ago

It seems that git clone did not work correctly. git submodule cmake is missing. Can you remove directory iai_maps, type iai_maps.checkout, check that iai_maps/cmake directory exists ? You should then be able to restart compilation.

GauDelpech commented 3 years ago

I'm a bit confused, when I try iai_maps.checkout I just get iai_maps.checkout : commande introuvable

florent-lamiraux commented 3 years ago

Sorry make iai_maps.checkout

GauDelpech commented 3 years ago

Thanks, I get something :

if [ -d iai_maps ]; then \
    echo "iai_maps already checkout out."; \
else \
    git clone --quiet --recursive -b master https://github.com/humanoid-path-planner/iai_maps; \
fi \

but nothing seems to happen after 5 min.

Edit : Ho it took a bit of time but it seems to work

florent-lamiraux commented 3 years ago

Do you have a good internet connexion ? If the command git clone fails but that the directory is created, the Makefile does not trigger git clone again.

GauDelpech commented 3 years ago

Actually I'm currently in a situation where I can only use 3G. I think this is the point of the problem.

But right now, make iai_maps.install have been done well and make all seems to be executed without other issue. If I still have a problem i'll retry the installation when I could have an access to wifi.

I close this issue for now and I'll may reopen it if needed Many thanks Florent for your help and your time.

jmirabel commented 3 years ago

I opened a PR to update the binary install instructions. They should make your life easier.