Skip to content

Commit 673d58d

Browse files
author
Huelse
committed
Add some notes for windows [Huelse#41]
1 parent c53aae4 commit 673d58d

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,20 @@ This is a python binding for the Microsoft SEAL library.
2121
### Linux
2222
CMake (>= 3.10), GNU G++ (>= 6.0) or Clang++ (>= 5.0), Python (>=3.6.8)
2323

24-
`sudo apt-get update && sudo apt-get install g++ make cmake git python3 python3-dev python3-pip`
24+
`sudo apt-get install build-essential cmake python3 python3-dev python3-pip`
2525

2626
`git clone https://github.com/Huelse/SEAL-Python.git`
2727

2828
```shell
29+
# Build the seal lib at first
2930
cd SEAL/native/src
3031
cmake .
3132
make
3233

3334
pip3 install -r requirements.txt
3435

35-
# Check the path at first
36-
# Setuptools (Recommend)
36+
# Check the path if necessary
37+
# Build in the current path (Recommend)
3738
python3 setup.py build_ext -i
3839
# or install
3940
python3 setup.py install
@@ -48,9 +49,9 @@ Visual Studio 2017 version 15.3 or newer is required to build Microsoft SEAL.
4849
Open the `SEAL/SEAL.sln` in VS, config in `x64, Release, WinSDK(17763, etc)` mode and generate it.
4950

5051
```shell
52+
# Same as above
53+
# IT must be inside x64 native tools command prompt
5154
python3 setup.py build_ext -i
52-
# or install
53-
python3 setup.py install
5455
```
5556

5657
Microsoft official video [SEAL in windows](https://www.microsoft.com/en-us/research/video/installing-microsoft-seal-on-windows/).
@@ -74,6 +75,10 @@ Microsoft official video [SEAL in windows](https://www.microsoft.com/en-us/resea
7475
b. add `/usr/local/lib` or the `SEAL/native/lib` to `/etc/ld.so.conf` and refresh it `sudo ldconfig`
7576

7677
c. build in cmake.
78+
79+
80+
81+
3. BuildError: C++17 at least
7782

7883

7984

0 commit comments

Comments
 (0)