Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detail opt #100

Merged
merged 1 commit into from
Nov 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ This is a python binding for the Microsoft SEAL library.
python3 4_bgv_basics.py
```

Build examples (after `cmake -S . -B`): `-DSEAL_BUILD_EXAMPLES=ON`
Build examples: `-DSEAL_BUILD_EXAMPLES=ON`

Zstandard compression off: `-DSEAL_USE_ZSTD=OFF`

Expand Down Expand Up @@ -131,6 +131,7 @@ This is a python binding for the Microsoft SEAL library.

then change the path in `setup.py`, and rebuild.


2. ImportError: libseal.so... cannot find

a. `sudo ln -s /path/to/libseal.so /usr/lib`
Expand All @@ -139,17 +140,31 @@ This is a python binding for the Microsoft SEAL library.

c. build in cmake.

3. BuildError: C++17 at least

3. BuildError:

1. C++17 at least

2. x86_64 is required, which `x86_32` is not supported


4. ModuleNotFoundError: No module named 'seal'

The `.so` or `.pyd` file must be in the current directory, or you have `install` it already.


5. Windows Error LNK2001, RuntimeLibrary and MT_StaticRelease mismatch

Only `x64` is supported, Choose `x64 Native Tools Command Prompt for VS`.


6. Warning about building the dynamic library with static library in MacOS, etc.

1. Build a shared SEAL library by adding a CMake option `-DBUILD_SHARED_LIBS=ON`

2. Edit `extra_objects` in setup.py to `*.dylib` or else.



## Contributing

Expand Down