@auther by sizaif
在windows上安装Microsoft SEAL
Note!说明
安装的版本为3.6
需要环境
Visual Studio 2019 with C++ CMake Tools for Windows
1. git 项目文件
2. 以管理员打开VS2019打开SEAL文件夹

打开后,VS会自动运行cmake配置
Visual Studio will detect that this is a CMake-based project and will enable the menu command
Project / CMake settings for SEAL
. This will open the CMake settings editor that provides a user interface where you can create different configurations and set different CMake options.
3. VS里打开终端powershell

因为VS2019是以管理员打开的,所以打开的终端也是带有管理员权限的
4. 在终端中依次输入
或者采用
#Generate and build for x64 in Release mode
如果成功,则默认安装的C:/Program Files(x86)/SEAL/目录下

或者直接打开 x64 Native Tools
进入到你的从github上下载的SEAL文件夹位置
依次输入以下命令
如果不出问题出现下面图片,则安装完成
预览: