Skip to content

Cross Compiling bitcoind fails with fatal error with Ubuntu 18.04 on Windows #24248

@BTCFranky

Description

@BTCFranky

:~/bitcoin$ make HOST=x86_64-w64-mingw32
Making all in src
make[1]: Entering directory '/home/frank/bitcoin/src'
make[2]: Entering directory '/home/frank/bitcoin/src'
make[3]: Entering directory '/home/frank/bitcoin'
make[3]: Leaving directory '/home/frank/bitcoin'
CXX primitives/libbitcoinconsensus_la-transaction.lo
In file included from primitives/transaction.cpp:11:0:
./util/strencodings.h:16:10: fatal error: charconv: No such file or directory
#include
^~~~~~~~~~
compilation terminated.
Makefile:12722: recipe for target 'primitives/libbitcoinconsensus_la-transaction.lo' failed
make[2]: *** [primitives/libbitcoinconsensus_la-transaction.lo] Error 1
make[2]: Leaving directory '/home/frank/bitcoin/src'
Makefile:16761: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/frank/bitcoin/src'
Makefile:817: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions