Author

Topic: Compiling cgminer - windows (Read 642 times)

sr. member
Activity: 302
Merit: 250
April 11, 2014, 08:02:41 AM
#1
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!
Jump to: