miracl / MIRACL

MIRACL Cryptographic SDK: Multiprecision Integer and Rational Arithmetic Cryptographic Library is a C software library that is widely regarded by developers as the gold standard open source SDK for elliptic curve cryptography (ECC).
https://miracl.com
653 stars 242 forks source link

Compilation error #129

Open huanglianghui opened 8 months ago

huanglianghui commented 8 months ago

I want to compile a miracl library for use in STM32 C++ projects. Mirdef defines MR_GENERIC_MT, and then big.h reports "The generic method isn't supported for C++, its C only". How to deal with this?

mcarrickscott commented 8 months ago

I suggest that you write your program in C, and therefore do not require big.h

Mike

On Fri, Mar 29, 2024 at 5:52 AM huanglianghui @.***> wrote:

I want to compile a miracl library for use in STM32 C++ projects. Mirdef defines MR_GENERIC_MT, and then big.h reports "The generic method isn't supported for C++, its C only". How to deal with this?

— Reply to this email directly, view it on GitHub https://github.com/miracl/MIRACL/issues/129, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAU3ZDXBZEFUWVWDXWMCB2TY2TCO5AVCNFSM6AAAAABFNYRNBOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYTINBVG4ZDONQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>