osu-crypto / libPSI

A repository for private set intersection.
Other
168 stars 47 forks source link

libPSI/out/build/linux" does not appear to contain CMakeLists.txt. #33

Closed nianer closed 2 years ago

nianer commented 2 years ago

Hi~ I encountered an error when I installed libPSI according to the installation method in README.md

More specifically, I ran python build, it threw an error as follow.

====== build.py (LIBPSI) ========
mkdir -p out/build/linux
cmake   -S . -B out/build/linux  -DSUDO_FETCH=OFF -DENABLE_ALL_PSI=ON -DFETCH_AUTO=ON -DPARALLEL_FETCH=64 -DCMAKE_BUILD_TYPE=Release 
cmake --build out/build/linux   --parallel 64 
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

CMake Error: The source directory "/home/ubuntu/libPSI/out/build/linux" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Error: could not load cache

I don't know how to solve it, can you give me some advice. Thank you.

ladnir commented 2 years ago

Might be that you have an old cmake version what does support "-S"

nianer commented 2 years ago

Thanks for your reply! You have a great help for me.