wallet-core-python
wallet-core-python copied to clipboard
setup.py build fails
Hello, all these steps ran successfully:
Checkout wallet-core-python
git clone https://github.com/phuang/wallet-core-python.git cd wallet-core-python
Checkout wallet-core submosule
git submodule init git submodule update
Build wallet-core
(cd wallet-core/; ./bootstrap.sh)
Then this failed:
python3 setup.py build
python3 setup.py build
src/generated/BitcoinMessageSigner.cc:83:5: error: use of undeclared identifier 'TWBitcoinMessageSignerDelete'; did you mean 'TWBitcoinMessageSigner'?
TWBitcoinMessageSignerDelete(self->value);
^
wallet-core/include/TrustWalletCore/TWBitcoinMessageSigner.h:22:8: note: 'TWBitcoinMessageSigner' declared here
struct TWBitcoinMessageSigner;
^
1 error generated.
error: command '/usr/local/swift/usr/bin/clang' failed with exit code 1
OS: Ubuntu 22.04.2 LTS Python version: 3.10.6
clang --version clang version 13.0.0 (https://github.com/apple/llvm-project.git f0fb631dd1a3a2988b23ba5057cd9106713cd0b4) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/local/swift/usr/bin
Could you please help me fix this problem? Let me know if you need any more info.
Can somebody help, please?