envire / envire-envire_core

Core part for the Environment Representation library
BSD 2-Clause "Simplified" License
7 stars 13 forks source link

Dependency installation script does not work #41

Closed AlexanderFabisch closed 5 years ago

AlexanderFabisch commented 5 years ago

I got the following error:

Klone nach 'base-logging' ...
remote: Enumerating objects: 70, done.
remote: Total 70 (delta 0), reused 0 (delta 0), pack-reused 70
Entpacke Objekte: 100% (70/70), Fertig.
Prüfe Konnektivität ... Fertig.
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at CMakeLists.txt:4 (find_package):
  By not providing "FindRock.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Rock", but
  CMake did not find one.

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

    RockConfig.cmake
    rock-config.cmake

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

CMake Error at CMakeLists.txt:5 (rock_init):
  Unknown CMake command "rock_init".

-- Configuring incomplete, errors occurred!
See also "/home/dfki.uni-bremen.de/afabisch/tmp/envire-envire_core/base-logging/build/CMakeFiles/CMakeOutput.log".
Rauldg commented 5 years ago

dependency update script means autoproj update in this case, right?

AlexanderFabisch commented 5 years ago

No, it is the one described in the readme.

planthaber commented 5 years ago

Are you sure you have set the install prefix and you have write access to that folder?

That script is used for CI, where it is working: https://circleci.com/gh/envire/envire-envire_core/76

It seems you have to use a full path as a parameter, not a local one

AlexanderFabisch commented 5 years ago

I'm not building in a rock environment. Is that required?

planthaber commented 5 years ago

The CI also does not use autoproj, only the dependency script:

./install_dependencies.sh [path_to_prefix]

Where [path_to_prefix] has to be a full path, not one including "../"

arneboe commented 5 years ago

The script was utterly broken. No idea how it ever worked :D Fixed it now.

AlexanderFabisch commented 5 years ago

FYI @HWiese1980

HWiese1980 commented 5 years ago

Awesome!