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

Visual Studio build #327

Closed
chfast opened this issue Sep 29, 2015 · 6 comments
Closed

Visual Studio build #327

chfast opened this issue Sep 29, 2015 · 6 comments

Comments

@chfast
Copy link

chfast commented Sep 29, 2015

I've seen Visual Studio related PRs. Is there any working Visual Studio build? What about big number implementation? @ximinez?

@sipa
Copy link
Contributor

sipa commented Sep 29, 2015

There is no need for a bignum implementation. It gives a mild performance boost to have gmp for computing modular inverses, but you can compile without. Furthermore, @apoelstra is working on a native fast modular inverse, so we have drop the GMP requirement entirely.

@chfast
Copy link
Author

chfast commented Sep 30, 2015

Thanks, good to know that.
Last time I was playing with cmake (#315) I had to define USE_NUM_GMP.

@apoelstra
Copy link
Contributor

@chfast defining USE_NUM_NONE should have also worked for you.

@chfast
Copy link
Author

chfast commented Oct 1, 2015

Yes, it works.

@ZeroXn
Copy link

ZeroXn commented Oct 14, 2015

How can I include this in my visual studio project?
I have included the header files, but not sure how i actually compile the library?

So far i have only added the include folder to my additional include directories, im my project properties, and get a LNK2019 unresolved external symbol _secp256k1_context_create referenced in function when i try and compile my project.

Any hints would be great! Thanks!
`

@evoskuil
Copy link
Contributor

@ZeroXn see: https://github.com/evoskuil/secp256k1/tree/version4/builds/msvc

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

6 participants