在Windows下安装微软SEAL
工具:
Visual Studio 2019 with C++ CMake Tools for Windows
CMake (>= 3.12)
git
打开 git bash
cd 你要保存的目录
输入
git clone https://github.com/microsoft/SEAL.git
如果下载速度太慢可以用gitee链接也可以直接下载压缩包解压到保存目录
List item
打开 Developer Command Prompt for VS 2019
切换到SEAL所在目录
cd c:/myfiles/SEAL
# Generate and build for x64 in Release mode
cmake -S . -B build -G "Visual Studio 16 2019" -A x64
cmake --build build --config Release
如果想安装的话
Installing the library in Windows works as well. Instead of using the sudo
command, however,