Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: btcrich on April 11, 2014, 01:02:41 PM



Title: Compiling cgminer - windows
Post by: btcrich on April 11, 2014, 01:02:41 PM
I'm trying to compile cgminer using MinGW on Windows.

I've followed all the Windows build instructions and have installed all the dependencies.  

It gets through the configure fine, but I'm getting an error on make.  I've tried compiling several different versions and am always getting this same error on make.

Code:
  CC     cgminer-cgminer.o
cgminer.c: In function 'kill_mining':
cgminer.c:3250:17: error: request for member 'p' in something not a structure or
 union
   if (pth && pth->p)
                 ^
make[2]: *** [cgminer-cgminer.o] Error 1
make[2]: Leaving directory `/c/cgminer-3.7.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/cgminer-3.7.2'
make: *** [all] Error 2

Any help on getting this to compile would be great!