Cmake error while installing OpenFHE

Hello.
I’m having difficulty on executing “cmake …” of the manual number 3.
https://openfhe-development.readthedocs.io/en/latest/sphinx_rsts/intro/installation/linux.html

I entered the command “sudo cmake …”
then the result was like…

– The C compiler identification is GNU 11.4.0
– The CXX compiler identification is GNU 11.4.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– Building in Release mode
– BUILD_UNITTESTS: ON
– BUILD_EXAMPLES: ON
– BUILD_BENCHMARKS: ON
– BUILD_EXTRAS: OFF
– BUILD_STATIC: OFF
– BUILD_SHARED: ON
– GIT_SUBMOD_AUTO: ON
– WITH_BE2: ON
– WITH_BE4: ON
– WITH_NTL: OFF
– WITH_TCM: OFF
– WITH_INTEL_HEXL: OFF
– SPKIM_OMP: OFF
– NAIVE_MT: OFF
– WITH_OPENMP: ON
– NATIVE_SIZE: 64
– CKKS_M_FACTOR: 1
– WITH_NATIVEOPT: OFF
– WITH_COVTEST: OFF
– USE_MACPORTS: OFF
– BUILTIN_INFO_AVAILABLE is defined
***** INSTALL IS AT /usr/local; to change, run cmake with -DCMAKE_INSTALL_PREFIX=/your/path
– Architecture is x86_64
– NATIVEINT is set to 64
– MATHBACKEND is set to 4
– Found Git: /usr/bin/git (found version “2.34.1”)
CMake Error at CMakeLists.txt:709 (add_subdirectory):
The source directory

/home/openfhe-fork-omp_threading/third-party/google-benchmark

does not contain a CMakeLists.txt file.
– Configuring incomplete, errors occurred!
See also “/home/openfhe-fork-omp_threading/build/CMakeFiles/CMakeOutput.log”.

How can I solve this problem? Help me :slight_smile:

I entered the command “sudo cmake …”

Don’t use sudo; the step 3 does not say to use sudo

I think it is missing the external google-benchmark library.

I suggest you to clone the repository using the usual git clone command, and not by downloading the .zip file (I got that error too :slight_smile: )