Author

Topic: Need help while compiling Windows QT wallet (Read 102 times)

newbie
Activity: 5
Merit: 0
April 21, 2019, 04:52:36 PM
#1
Hello, I want to setup my own crypto Wallet/Coin (please note the coin is only for me I don't want to list this coin on any exchange!) to learn more about crypto, blockchain and about the wallet. I used this tutorial. When I want to compile the Wallet-QT for Windows I get the error below. I use for make mingw32-make.

src/misc/db.h: In member function 'bool CDB::TxnBegin()': src/misc/db.h:273:38: error: call to 'DbTxn* CDBEnv::TxnBegin(int)' uses the default argument for parameter 1, which is not yet defined DbTxn* ptxn = bitdb.TxnBegin();

I don't know how I can solve it.

I looked already in another source codes from other wallets but they have the same "db.h".

There is also my code on Github and the db.h file.

Tutorial: https://cryptocurrencytalk.com/topic/13204-how-to-build-a-windows-qt-wallet-for-any-coin-yourself-from-source-code-step-by-step-instructions/

Github: https://github.com/Roalkege/ScamCoin

db.h: https://github.com/Roalkege/ScamCoin/blob/master/src/db.h
Jump to: