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
654 stars 242 forks source link

How can I solve an error with the file dssver.c #5

Open mario2780 opened 10 years ago

mario2780 commented 10 years ago

Good afternoon. I am trying to compile the file dssver.c. I added the files miracl.h, mirdef.h, common.dss, private.dss and public.dss.Also the miracl.lib was included. I set the stack and heap sizes in 0x2000 and 0x800, respectively. The optimization level was set to 2. When I debugged the project, I get these errors:

10010 errors encountered during linking; "DSS_VERIF_ONE.out" not built DSS_VERIF_ONE C/C++ Problem

#10234-D unresolved symbols remain DSS_VERIF_ONE
C/C++ Problem unresolved symbol _compare, first referenced in ./dssver.obj DSS_VERIF_ONE C/C++ Problem

Apparently, the problem is with compare function, How can I solve this?.

Thanks in advance.

Mario/

mcarrickscott commented 10 years ago

Hello Mario,

The compare() function has now been renamed to mr_compare(), and so compare() should not appear anywhere in your code.

This has been fixed in the latest version of miracl.

Mike


From: mario2780 notifications@github.com Sent: 07 May 2014 22:45 To: CertiVox/MIRACL Subject: [MIRACL] How can I solve an error with the file dssver.c (#5)

Good afternoon. I am trying to compile the file dssver.c. I added the files miracl.h, mirdef.h, common.dss, private.dss and public.dss.Also the miracl.lib was included. I set the stack and heap sizes in 0x2000 and 0x800, respectively. The optimization level was set to 2. When I debugged the project, I get these errors:

10010 errors encountered during linking; "DSS_VERIF_ONE.out" not built DSS_VERIF_ONE C/C++ Problem

10234-D unresolved symbols remain DSS_VERIF_ONE

C/C++ Problem unresolved symbol _compare, first referenced in ./dssver.obj DSS_VERIF_ONE C/C++ Problem

Apparently, the problem is with compare function, How can I solve this?.

Thanks in advance.

Mario/

Reply to this email directly or view it on GitHubhttps://github.com/CertiVox/MIRACL/issues/5.