我想使用MinGW和MSYS
在Windows上编译这个C ++项目项目链接:CPU Miner
来源tarball:CPU Miner.tar.gz
在README文件中,它表示我要:
* 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
这些文件中没有一个位于我的计算机的正确位置,我不知道在哪里可以找到主题。
您能否详细说明如何编译它? (我是新手)
答案 0 :(得分: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
实际上没有比这更详细。