frankaemika/libfranka

Libfranka cmake error

Jacklove-G opened this issue · 1 comments

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.

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