requires bitshares and fc from Invictus to compile. (as described in the readme) cloned those but did not compile (cmake should do that), then did in root folder:
cmake . -DCMAKE_BUILD_TYPE=Release; make
and got the following errors from cmake:
------------------
[ 30%] Built target fc
Scanning dependencies of target gw_miner
[ 30%] Building CXX object CMakeFiles/gw_miner.dir/getwork_miner.cpp.o
[ 31%] Building CXX object CMakeFiles/gw_miner.dir/momentum.cpp.o
/memcoin/memorycoin_miner/momentum.cpp:22:96: error: uint256 has not been declared
void static SHA512Filler(char *mainMemoryPsuedoRandomData, int threadNumber, int totalThreads,uint256 midHash, char* isComplete){
^
/memcoin/memorycoin_miner/momentum.cpp: In function void aesSearch(char*, int, int, char*, std::vector<std::pair<unsigned int, unsigned int> >*):
/memcoin/memorycoin_miner/momentum.cpp:67:44: error: GetArg was not declared in this scope
unsigned int useEVP = GetArg("-useevp", 1);
^
/memcoin/memorycoin_miner/momentum.cpp:72:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(uint32_t k=startLoc;k<startLoc+searchNumber;k++){
^
/memcoin/memorycoin_miner/momentum.cpp:59:13: warning: unused variable mainMemoryPsuedoRandomData32 [-Wunused-variable]
uint32_t* mainMemoryPsuedoRandomData32 = (uint32_t*)mainMemoryPsuedoRandomData;
^
/memcoin/memorycoin_miner/momentum.cpp: In function void waitForAllThreadsToComplete(char*, int):
/memcoin/memorycoin_miner/momentum.cpp:152:18: error: MilliSleep was not declared in this scope
MilliSleep(100);
^
compilation terminated due to -fmax-errors=3.
make[2]: *** [CMakeFiles/gw_miner.dir/momentum.cpp.o] Error 1
make[1]: *** [CMakeFiles/gw_miner.dir/all] Error 2
make: *** [all] Error 2