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
Serialization not working in macOS #69
Labels
bug
Something isn't working
Milestone
Comments
yspolyakov
changed the title
Serialization error in macOS
Serialization not working in macOS
Mar 12, 2024
yspolyakov
added a commit
that referenced
this issue
Mar 13, 2024
Fixes issue with serialization on Apple devices (#69)
@yspolyakov I get the same error when running the c++ version of this app((openfhe-development). I am running it on a Mac M2 pro.
I tried adding the change you made to the cmakelists.txt on the root and rebuild it but no luck
@jkav77 fyi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While running openfhe-python/examples/pke/simple-integers-serial.py
RuntimeError: Trying to save an unregistered polymorphic type (lbcrypto::CryptoContextImpl<lbcrypto::DCRTPolyImpl<bigintdyn::mubintvec<bigintdyn::ubint>>>).
Make sure your type is registered with CEREAL_REGISTER_TYPE and that the archive you are using was included (and registered with CEREAL_REGISTER_ARCHIVE) prior to calling CEREAL_REGISTER_TYPE.
If your type is already registered and you still see this error, you may need to use CEREAL_REGISTER_DYNAMIC_INIT.
Environment: Prepared a Conda environment on Apple M2 Pro, and able to run other examples.
However, it worked for me, in Linux environment.
The text was updated successfully, but these errors were encountered: