I was able to compile wallet using these instructions:
https://bitcointalk.org/index.php?topic=1028119.msg25225323#msg25225323Then I got masternode working by adding following lines to init.cpp:
} else {
return InitError(_("You must specify a masternodeprivkey in the configuration. Please see documentation for help."));
}
// ------------------------- start -------------
std::string err;
masternodeConfig.read(err);
if (!err.empty())
LogPrintf("error while parsing masternode.conf Error: %s \n", err);
// -------------------------- end -------------
}
fEnableDarksend = GetBoolArg("-enabledarksend", false);
Without these lines it doesn't read masterned.conf, therefore it will not be able to find stake coins.
Not sure how everybody else's wallets are working without this fix. Mystery....