forex.pm forex forum binary options trade - Binance - Сryptocurrency exchanges - How to build Bitcoin binaries for Windows on Ubuntu using cross-compile
  • Welcome to forex.pm forex forum binary options trade. Please login or sign up.
 

How to build Bitcoin binaries for Windows on Ubuntu using cross-compile

Started by Bitcoin, Apr 01, 2022, 06:22 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bitcoin

How to build Bitcoin binaries for Windows on Ubuntu using cross-compile

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 to projectdir/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 and make 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.


Source: How to build Bitcoin binaries for Windows on Ubuntu using cross-compile