-
Notifications
You must be signed in to change notification settings - Fork 242
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
I'm having problems running 1test.cpp。 #128
Comments
g++ 1test.cpp big.cpp libmiracl.a
…On Tue, Mar 5, 2024 at 11:07 AM zxcvbxzx ***@***.***> wrote:
I'm having problems running 1test.cpp,The static libraries that have been
compiled are libmiracl。I put 1test.cpp, libmiracl and related header files
in the same directory,When I run it with the command : g++ 1test.cpp
libmiracl.a I get the error。
image.png (view on web)
<https://github.com/miracl/MIRACL/assets/116177581/a4a0fcd3-356f-4626-bb7b-07d81c17e307>
My 1test.cpp code is as follows:
image.png (view on web)
<https://github.com/miracl/MIRACL/assets/116177581/1e6ea64c-1afa-41a8-823b-495fae9b8474>
—
Reply to this email directly, view it on GitHub
<#128>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAU3ZDQ5BD5553OPAB5EEHTYWVVJHAVCNFSM6AAAAABEGR4M46VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DQNBVGY2DEMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thank you very much for your answer! It solved my problem perfectly!But I don't know what the exact reason is, if I could trouble you to tell me. |
The missing functions are implemented in big.cpp
…On Tue, Mar 5, 2024 at 2:54 PM zxcvbxzx ***@***.***> wrote:
Thank you very much for your answer! It solved my problem perfectly!But I
don't know what the exact reason is, if I could trouble you to tell me.
—
Reply to this email directly, view it on GitHub
<#128 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAU3ZDQ3DFS2FZTBX3TW7ZTYWWP67AVCNFSM6AAAAABEGR4M46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZYGQ4DOMJZGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
tanks for your answer!I see the relevant code running,no need to bring source code like big.cpp or anything like that.I'm wondering if there was a problem when I compiled the static library.For example, when I run the sample code ecsign.cpp from the miracl library,Similar problems have arisen: |
First generate key pair, before signing
g++ ecsgen.cpp ecn.cpp big.cpp miracl.a -o ecsgen
./ecsgen
…On Thu, Mar 7, 2024 at 3:45 PM zxcvbxzx ***@***.***> wrote:
image.png (view on web)
<https://github.com/miracl/MIRACL/assets/116177581/de01fe21-7663-4ec7-b65a-8e17538fb882>
—
Reply to this email directly, view it on GitHub
<#128 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAU3ZDUK45AKDH2AJOWVWHTYXBHL5AVCNFSM6AAAAABEGR4M46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBTGMZTOMZSG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I tried your command and it ran successfully. Thank you very much for your answer! |
I'm having problems running 1test.cpp,The static libraries that have been compiled are libmiracl。I put 1test.cpp, libmiracl and related header files in the same directory,When I run it with the command : g++ 1test.cpp libmiracl.a I get the error。
My 1test.cpp code is as follows:
The text was updated successfully, but these errors were encountered: