python3 setup.py build issue
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2021.2.2\plugins\python\helpers\pydev\pydevd.py", line 1483, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "C:\Program Files\JetBrains\PyCharm 2021.2.2\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "C:/Users/fangz/wallet-core-python/setup.py", line 34, in
This file is available in docker image of wallet-core. But not available in wallet-core folder in this repo. Hope get some help on it.
Did you follow step at https://github.com/phuang/wallet-core-python#readme ?
@fangzheli i know whats your problem.
please follow this : https://developer.trustwallet.com/wallet-core/developing-the-library/building
you need to download everything needed depends on the OS, cant find windows OS there but I can find this repo https://github.com/kaetemi/wallet-core-windows
Did you follow step at https://github.com/phuang/wallet-core-python#readme ? Thank you so much for your reply. I have tried to build it in git bash and get the following error message.
Initializing...
PREFIX: /c/Users/fangz/OneDrive/Desktop/IntelligentX/wallet-core-python/wallet-core/build/local Downloading gtest... Downloading libcheck... Downloading nolhmann_json... Downloading protobuf... done. -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000. -- Configuring done -- Generating done -- Build files have been written to: C:/Users/fangz/OneDrive/Desktop/IntelligentX/wallet-core-python/wallet-core/build/local/src/gtest/googletest-release-1.11.0 make: *** No targets specified and no makefile found. Stop.
I don't see there is any makefile in this wallet-core folder. When "make -Cbuild -j12 tests TrezorCryptoTests" is executed. An alterative solution I am thinking is git clone your repo in the docker that I already have wallet-core built and substitute the wallet-core in this repo by the wallet-core I have already built, do you think that make any sense? Thanks for your time.
@fangzheli i know whats your problem.
please follow this : https://developer.trustwallet.com/wallet-core/developing-the-library/building
you need to download everything needed depends on the OS, cant find windows OS there but I can find this repo https://github.com/kaetemi/wallet-core-windows
Thanks. Will check it out.