Skip to content

Unable to build using cross-rs #99

Description

@KernelPanic0

I am trying to cross compile a rust application (from linux, for windows) which interacts with the bitcoin ecosystem.
The bitcoinconsensus crate causes an issue as upon building everything builds fine other than this crate.

Warning: build failed, waiting for other jobs to finish...
The following warnings were emitted during compilation:

warning: bitcoinconsensus@0.106.0+26.0: In file included from depend/bitcoin/src/util/strencodings.cpp:7:0:
warning: bitcoinconsensus@0.106.0+26.0: depend/bitcoin/src/util/strencodings.h:15:10: fatal error: charconv: No such file or directory
warning: bitcoinconsensus@0.106.0+26.0:  #include <charconv>
warning: bitcoinconsensus@0.106.0+26.0:           ^~~~~~~~~~
warning: bitcoinconsensus@0.106.0+26.0: compilation terminated.

error: failed to run custom build command for bitcoinconsensus v0.106.0+26.0

Are there any solutions for this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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