microsoft / APSI

APSI is a C++ library for Asymmetric (unlabeled or labeled) Private Set Intersection.
MIT License
186 stars 42 forks source link

CMake error #40

Closed skyer2 closed 1 year ago

skyer2 commented 1 year ago

when I try to build and meet that CMake error. I have already set cmake ../my/project -DCMAKE_TOOLCHAIN_FILE=[vcpkg-root]/scripts/buildsystems/vcpkg.cmak First I meet that "seal.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided "SEAL",but CMAKE did not find one. Then I set seal's cmakefile in computer environment manually.
But after that, it still have other problems as following.

fd4edb75b241c952a4b8202ead06954

It seems that the vcpkg is not correctly integrated into the cmake in my visual studio2022? looking foward to your reply, thx.

chenshuyuhhh commented 1 year ago

I also met another problem when cmake APSI.

-- flatc path: FLATBUFFERS_FLATC_PATH-NOTFOUND
CMake Error at cmake/CompileSchemaCXX.cmake:9 (message):
  flatc failed (No such file or directory)
Call Stack (most recent call first):
  CMakeLists.txt:146 (include)

But I have install flatc successfully.

flatc --version
flatc version 22.12.06

Thanks~

kimlaine commented 1 year ago

This may be the same problem as in this Issue. There is a mistake in our README.md that causes this kind of problem in Windows. I'll fix it shortly.