Post
Topic
Board Mining software (miners)
Re: CGMINER GPU FPGA overclock monitor fanspeed RPC linux/windows/osx/mip/r-pi 2.7.4
by
sharky112065
on 26/08/2012, 23:04:39 UTC
I'm trying to compile cgminer on my Windows 7 Pro 64 bit desktop. I'm at the point where I need to start building cgminer, but I'm getting the following error:
Code:
The Joey-O@Mr_Compy ~
$ cd cgminer-2.7.4

The Joey-O@Mr_Compy ~/cgminer-2.7.4
$ adl.sh
/mingw/bin/adl.sh: /mingw/bin/adl.sh: cannot execute binary file

The Joey-O@Mr_Compy ~/cgminer-2.7.4
$ file adl.sh
adl.sh: ERROR: cannot open `adl.sh' (No such file or directory)

I made the adl.sh file with the following contents:
Code:
cp -av ../ADL_SDK/*.h ADL_SDK
Then I saved it in \MinGW\msys\1.0\bin. I also made the ADL_SDK directory and placed it in \MinGW\msys\1.0\home\The Joey-O\ with adl_defines.h, adl_sdk.h & adl_structures.h inside.

Any idea on what I'm doing wrong?

Make sure you have the adl.sh file there. And the CGMiner source code in there somewhere. Not the CGminer already compiled, but you need the source.

Ok. I definitely have the adl.sh file where it's supposed to be according to the documentation. How do I know if what I downloaded is source or precompiled code?

Pre-Compiled code will have cgminer.exe in the folder.

I wrote that documentation. I just followed it step by step and it still works. Are you sure the adl.sh file does not have .txt on the end?

Make sure you have a cr/lf after "cp -av ../ADL_SDK/*.h ADL_SDK".

You could also try putting the file in \MinGW\bin.