Windows环境下的CPU-Miner编译 我想用MINW和MCSY/P>在Windows上编译这个C++项目

Windows环境下的CPU-Miner编译 我想用MINW和MCSY/P>在Windows上编译这个C++项目,c++,c,compilation,C++,C,Compilation,项目链接: 资料来源:tarball: 自述文件中说,我必须: * 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 这些文件中没有一个在我的计算机中的正确位置,我也不知道在哪里可以找到主题 你能给我一个详细的说明如何编译它吗?(我是新手)答案就在你引用

项目链接:

资料来源:tarball:

自述文件中说,我必须:

* 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
这些文件中没有一个在我的计算机中的正确位置,我也不知道在哪里可以找到主题


你能给我一个详细的说明如何编译它吗?(我是新手)

答案就在你引用的文件中

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 使用MinGW的基本Windows构建说明: 安装MinGW和MSYS开发者工具包(http://www.mingw.org/) *确保在MinGW\include中有mstcpip.h 如果使用MinGW-w64,请安装pthreads-w64 安装libcurl-devel(http://curl.haxx.se/download.html) *确保在MinGW\share\aclocal中有libcurl.m4 *确保在MinGW\bin中有curl配置 在MSYS shell中,运行: ./autogen.sh#仅当从git回购中构建时才需要 LIBCURL=“-lcurldll”。/configure CFLAGS=“-O3” 制作
没有比这更详细的了。

就像我说的我没有does文件,从那里我可以得到主题?如果你阅读我发布的内容,你会在文本中找到MinGW和libcurl的URL。libcurl不包含libcurl.m4和curl config+,我不知道放在哪里?在MinGW/include目录中?或者在项目的目录?@Dark Core中,您需要获取libcurl的源程序包(它是下载页面顶部的zip文件),然后构建它以生成curl配置文件。.m4文件应该已经存在。