frankaemika / libfranka

C++ library for Franka research robots
https://frankaemika.github.io
Apache License 2.0
221 stars 147 forks source link

Libfranka cmake error #144

Open Jacklove-G opened 8 months ago

Jacklove-G commented 8 months ago

My Os is 4.2.2, and I downloaded libfranka-0.9.1 and libfranka-0.9.2, when I run cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF ..

for libfranka-0.9.1, there is CMake Error at cmake/SetVersionFromGit.cmake:26 (message): /home/g/libfranka does not seem to be a git repository, cannot find a '.git/' folder inside it? Call Stack (most recent call first): CMakeLists.txt:5 (set_version_from_git)

-- Configuring incomplete, errors occurred!

For libfranka-0.9.2, there is -- Found Threads: TRUE
CMake Error at CMakeLists.txt:53 (add_subdirectory): The source directory

/home/g/libfranka/common

does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred! See also "/home/g/libfranka/build/CMakeFiles/CMakeOutput.log". See also "/home/g/libfranka/build/CMakeFiles/CMakeError.log".

What should I do? And I use Ubuntu18.04 melodic.

christian-rauch commented 7 months ago

Did you clone the repo with --recursive as suggested here: https://frankaemika.github.io/docs/installation_linux.html#building-libfranka?