Post
Topic
Board Announcements (Altcoins)
Re: [ANN][MDT] Midnight | BMW-256, 1-Click Nodes, Ongoing POW, POS [MODDED]
by
Maxus
on 15/07/2015, 01:50:53 UTC
Hi Djm34

That is fair, I have no way of really proving otherwise. I guess its up to people if they want to take the risk. I'm no genius C++ programmer I'm more of an business application developer. So this might not be perfect but it works for me.

For others who want to compile it themselves using Visual Studio 2013 without MingW:

do a

Code:
git clone https://github.com/ocminer/cpuminer-bmw

Then open the "cpuminer.sln" file.

Make the following changes:

in compat/cpuminer-config.h

Code:
/* Define to 1 if you have and it should be used (not on Ultrix). */
/* #undef HAVE_ALLOCA_H */

changed to (uncommented it):

Code:
/* Define to 1 if you have and it should be used (not on Ultrix). */
#undef HAVE_ALLOCA_H


In /miner.h

Find this line:

Code:
#undef USE_ASM  /* to fix */

and add this below it:

Code:
#undef HAVE_ALLOCA_H
#undef HAVE_SYSLOG_H

and finally make sure you build for x64 as the curl libraries are 64 bit from what I understand.