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....
Those lines are needed only if you use "masternode.conf". Using it saves you some burden if you run multiple nodes and want to control them from a single point, but in general you can perfectly run a masternode without using that file.
BTW, I published that patch few months ago here on the thread, so maybe some guys are using it too.