2014-02-23 46 views
1

我想編譯這個C++項目上使用MinGW和MSYS窗口CPU礦工編譯在Windows

項目鏈接:CPU Miner

源碼包:CPU Miner.tar.gz

自述文件,它是說,我「已經到:

* Make sure you have mstcpip.h in MinGW\include 
* Make sure you have libcurl.m4 in MinGW\share\aclocal 
* Make sure you have curl-config in MinGW\bin 

這個文件沒有一個是在我的電腦上正確的地方,我不知道在哪裏可以找到的主題。

你能給我一個關於如何編譯它的詳細說明嗎? (我是一個新手)

+2

http://www.mingw.org/ – BlackBear

回答

2

答案是在README文件你從報價就在那裏......

 
Basic Windows build instructions, using MinGW: 
    Install MinGW and the MSYS Developer Tool Kit (http://www.mingw.org/) 
    * Make sure you have mstcpip.h in MinGW\include 
    If using MinGW-w64, install pthreads-w64 
    Install libcurl devel (http://curl.haxx.se/download.html) 
    * Make sure you have libcurl.m4 in MinGW\share\aclocal 
    * Make sure you have curl-config in MinGW\bin 
    In the MSYS shell, run: 
    ./autogen.sh # only needed if building from git repo 
    LIBCURL="-lcurldll" ./configure CFLAGS="-O3" 
    make 

並沒有真正得到比這更詳細。

+0

像我說的我沒有文件,從哪裏我可以得到的主題? –

+0

如果您閱讀我發佈的內容,您會在文本中找到MinGW和libcurl的網址。 – jpw

+1

libcurl不包含libcurl.m4和curl-config +我不知道在哪裏放置它?在MinGW/include目錄中?或在項目的目錄中? –