I am trying to build Bitcoin 0.13 for Windows. I've always used this guide for building previous versions. Now seems that developers have changed their mind regarding Windows, and the new way seems cross-compile from Ubuntu. I have followed step by step the new instructions, but I haven't been able to get it built. Seems that instructions are either not correct or not up to date. Here is what I've found so far:
- zconf.h file not found, solved manually copying it from
/usr/include/x86_64-linux-gnu
toprojectdir/depends/x86_64-w64-mingw32/include
- [unsolved]
warning: undefined symbols not allowed in x86_64-w64-mingw32 shared libraries; building static only
while compiling secp256k1 lib - [unsolved] I tried to
configure
andmake
secp256k1 manually before running the "main" make for solving previous issue, but then I get this error:/usr/bin/x86_64-w64-mingw32-ld: attempted static link of dynamic object secp256k1/.libs/libsecp256k1.so
I stuck here, any help is appreciated. Also, I could also accept to build on Windows (like before) if necessary, as long as it works. Thanks.