Skip to content
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

How to compile #29

Open
DaanDW11 opened this issue Oct 15, 2018 · 2 comments
Open

How to compile #29

DaanDW11 opened this issue Oct 15, 2018 · 2 comments

Comments

@DaanDW11
Copy link

Hey I am a beginning c programmer and I can't compile this project.
I cloned this project and tried to compile the project with:" gcc test.c" but it had a lot of errors.
What am I doing wrong?

Thanks in advance
Daan

@EBGToo
Copy link
Contributor

EBGToo commented Oct 15, 2018

Try gcc -Isecp256k1/ -o test *.c and then ./test. There is no Makefile at the top-level so you need to specify the build by hand. And, make sure you checked-out the code with --recursive.

$ gcc -Isecp256k1/ -o test *.c
BRKey.c:51:32: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
                               ^
1 warning generated.
$ ./test
BRIntsTests...                      success
BRArrayTests...                         ...               

@DaanDW11
Copy link
Author

DaanDW11 commented Oct 16, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants