You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute the make operation, the error is reported as follows:
in file included from charm/core/math/pairing/pairingmodule.c:30:
charm/core/math/pairing/pairingmodule.h:39:10: fatal error: longintrepr.h: no such file or directory.
39 | #include <longintrepr.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
The text was updated successfully, but these errors were encountered:
Are you using Python 3.12? In Python 3.12, the header file longintrepr.h is in the directory /usr/include/python3.12/cpython/ whereas for the earlier Python versions, the same file is in /usr/include/python3.XX/. I would suggest using Python versions 3.8 to 3.10 instead for the time being. There are other things in Python 3.12 that will break the Charm library, so it is probably better to wait until someone resolves those issues before using Charm on Python 3.12.
When I execute the make operation, the error is reported as follows:
in file included from charm/core/math/pairing/pairingmodule.c:30:
charm/core/math/pairing/pairingmodule.h:39:10: fatal error: longintrepr.h: no such file or directory.
39 | #include <longintrepr.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
The text was updated successfully, but these errors were encountered: