Open soraxas opened 2 months ago
We use the library as part of the ROCK robotics framework developed and used at DFKI. However, from the open source user community view, we use this CMakeLists which together with installation steps should automatically setup and install all the dependencies.
I have removed the link to the internal https://git.hb.dfki.de/sw-backbone/package_sets because it was confusing and not relevant for the github users.
If I try to use the automatic installation, I'm still getting an error that ROCK cannot be installed:
CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:603 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:825 (_pkg_check_modules_internal) build/install/share/rock/cmake/Rock.cmake:322 (pkg_check_modules) build/install/share/rock/cmake/Rock.cmake:520 (rock_find_pkgconfig) build/install/share/rock/cmake/Rock.cmake:944 (rock_target_definition) build/install/share/rock/cmake/Rock.cmake:1042 (rock_library_common) src/CMakeLists.txt:55 (rock_library)
I followed the steps in the README file for automatic installation:
cd ugv_nav4d mkdir build && cd build cmake -DINSTALL_DEPS=ON -DCMAKE_INSTALL_PREFIX=./install .. make -j install
Which OS are you using for the build?
Ubuntu 22.04.4
Hmm, that is very strange. I followed the same steps on Ubuntu 22.04.2 LTS
and it worked for me.
It is strange indeed. I deleted everything and started over and ran into another issue ( https://github.com/dfki-ric/ugv_nav4d/issues/9). I fixed that one, and the Rock error did not show again. But I really don't understand why it's gone now.
It seems the build system depends on
rock
, a build system macro developed bydfki.de
:https://github.com/dfki-ric/ugv_nav4d/blob/86650761370d2ed10e6fc49aa6ff797c18182a13/CMakeLists.txt#L28-L31
However, its not part of the install target in the
source_dependencies
scripts.The Readme file contains the following text:
However, the gitlab link https://git.hb.dfki.de/sw-backbone/package_sets is private and requires login?
(part of https://github.com/openjournals/joss-reviews/issues/6983)