Author

Topic: VS2015 - how to include secp256k1 in my project? (Read 1053 times)

full member
Activity: 157
Merit: 103
Salí para ver
You should include the header files but also the .c files to your project's files tree.
member
Activity: 66
Merit: 10
Hi!
Im using Visual Studio 2015 C++ and trying to include secp256k1 into my project.

I tried downloading the library source from https://github.com/bitcoin/secp256k1, and moved the folder
to my project folder. I added the include folder to the additional include directories setting in configuration
properties, but trying to compile my project resulted in an unresolved external symbol linker error, which
i assume is because the library is not actually compiling with my project.

How can I compile this library and include it in my project?


That is a generic linker error. The error message should give you information about the missing libraries. What is the content of the unresolved external symbol error?
xnn
newbie
Activity: 1
Merit: 0
Hi!
Im using Visual Studio 2015 C++ and trying to include secp256k1 into my project.

I tried downloading the library source from https://github.com/bitcoin/secp256k1, and moved the folder
to my project folder. I added the include folder to the additional include directories setting in configuration
properties, but trying to compile my project resulted in an unresolved external symbol linker error, which
i assume is because the library is not actually compiling with my project.

How can I compile this library and include it in my project?
Jump to: