When compiling the wallet for linux:
This is the first time I get this error with a coin (200+ compilations on a standard server base for wallets).
Any help appreciated.
Code:
walletdb.cpp: In function ‘bool DumpWallet(CWallet*, const string&)’:
walletdb.cpp:737:16: error: aggregate ‘std::ofstream file’ has incomplete type and cannot be defined
walletdb.cpp: In function ‘bool ImportWallet(CWallet*, const string&)’:
walletdb.cpp:795:16: error: aggregate ‘std::ifstream file’ has incomplete type and cannot be defined
make: *** [obj/walletdb.o] Error 1
This is the first time I get this error with a coin (200+ compilations on a standard server base for wallets).
Any help appreciated.
add:
#include <iostream>
#include <fstream>
in walletdb.cpp
Thanks! that made it
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)