for guys who want to compile their own windows miner.
i made some correction to guide on ftc forum.
it is here for u all:
*******************
** Install MinGW **
*******************
1. Go to
https://sourceforge.net/downloads/mingw2. Download and execute mingw-get-setup.exe
3. Complete the installation wizard leaving default values
*********************
** Configure MinGW **
*********************
1. Launch the MinGW Installation Manager
2. Select Basic Setup on the left
3. Mark the following packages for installation: mingw-developer-toolkit, mingw32-base, mingw-gcc-g++, and msys-base
4. Select All Packages on the left
5. Mark the following packages for installation: mingw32-pthreads-w32 (dev), mingw32-libpdcurses (dev), mingw32-pdcurses (bin), msys-libopenssl (dev)
6. Click Installation > Apply Changes
7. Click Apply
8. Wait...
9. Click Close
10. Close MinGW Installation Manager
************************
** MinGW Post-Install **
************************
1. Check your Start menu for “MinGW Shell”
2. If the shortcut exists, continue to the next section, otherwise:
3. Navigate to C:\MinGW\msys\1.0\postinstall
4. Run pi.bat & answer the questions
5. Navigate to C:\MinGW\msys\1.0
6. Right-click msys.bat and click Copy
7. Click the Start button
8. Right-click All Programs and click Open
9. Right-click on the opened folder and click “Paste shortcut”
10. Right-click the new shortcut and click Properties
11. On the General tab, rename the shortcut to “MinGW Shell”
12. On the Shortcut tab, change Start in to C:\MinGW\msys\1.0\bin
13. Click OK
******************************
** Install GTK+ for Windows **
******************************
1. Visit
http://sourceforge.net/projects/gtk-win/2. Download and execute the gtk2-runtime installer
3. Complete the installation wizard leaving default values
4. Copy libglib-2.0-0.dll and intl.dll from C:\Program Files\GTK2-Runtime\bin to C:\MinGW\bin
************************
** Install pkg-config **
************************
1. Visit
http://www.gtk.org/download/win32.php2. Search for a version of pkg-config that includes both the Tool and Dev downloads
3. Click and download both the Tool link and the Dev link
4. Open the pkg-config zip file and extract the bin folder to C:\MinGW
5. Open the pkg-config-dev zip file and extract the share folder to C:\MinGW
*********************
** Install libcurl **
*********************
1. Visit
http://curl.haxx.se/download.html#Win322. Look for the Win32 - Generic heading
3. Download the link that indicates both *libcurl* (not just binary) and *SSL*
4. Open the zip file and extract the lib, include, and bin folders to C:\MinGW
5. Edit C:\MinGW\lib\pkgconfig\libcurl.pc
6. Change "-lcurl" to "-lcurl -lcurldll"
************************
** Install libjansson **
************************
1. Visit
http://www.digip.org/jansson/releases/2. Download the latest .tar.gz file (not doc.tar.gz)
3. Open the .tar.gz file and extract the jansson folder to C:\MinGW\msys\1.0\home\USER (where USER is your user name)
4. Click Start and launch MinGW Shell
5. Type the following (replace X.X with actual version):
cd ~/jansson-X.X
./configure --prefix=/MinGW
make
make check
make install
***********************************************
* Copy CGMiner source to your MSYS working directory *
***********************************************
Copy CGMiner source code directory into:
\MinGW\msys\1.0\home\(folder with your user name)
* Install AMD APP SDK, latest version (only if you want GPU mining) *
Note: You do not need to install the AMD APP SDK if you are only using Nvidia GPU's
Go to this url for the latest AMD APP SDK:
http://developer.amd.com/tools-and-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/Download and install whichever version you like best.
Copy the folders in \Program Files (x86)\AMD APP\include to \MinGW\include
Copy \Program Files (x86)\AMD APP\lib\x86\libOpenCL.a to \MinGW\lib
Note: If you are on a 32 bit version of windows "Program Files (x86)" will be
"Program Files".
Note2: If you update your APP SDK later you might want to recopy the above files
************************************************************
* Install AMD ADL SDK, latest version (only if you want GPU monitoring) *
************************************************************
Note: You do not need to install the AMD ADL SDK if you are only using Nvidia GPU's
http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/Download and unzip the file you downloaded.
Pull adl_defines.h, adl_sdk.h, and adl_structures.h out of the include folder
Put those files into the ADL_SDK folder in your source tree as shown below.
\MinGW\msys\1.0\home\(folder with your user name)\cgminer-x.x.x\ADL_SDK
******************
* Build cgminer.exe *
******************
Run the MinGW MSYS shell
cd neo TAB enter
./autogen.sh
Make
*********************************
* Copy files to a build directory/folder *
*********************************
Make a directory and copy the following files into it. This will be your CGMiner
Folder that you use for mining. Remember the .cl filenames could change on later
releases. If you installed a different version of libcurl then some of those dll's
may be different as well.
cgminer.exe from \MinGW\msys\1.0\home\(username)\cgminer-x.x.x
*.cl from \MinGW\msys\1.0\home\(username)\cgminer-x.x.x
README from \MinGW\msys\1.0\home\(username)\cgminer-x.x.x
libcurl.dll from \MinGW\bin
libidn-11.dll from \MinGW\bin
libeay32.dll from \MinGW\bin
ssleay32.dll from \MinGW\bin
libpdcurses.dll from \MinGW\bin
pthreadGC2.dll from \MinGW\bin