Closed EthanHee closed 4 years ago
dunno about VS. because i do not use windows
if so, how do you make the exe binary file?
cross compile on linux
is there a install guide for how to make the exe binary file through the source files?
OK , i will try ,thank you
this is how i do it :
1、 git clone git@github.com:cryptozeny/cpuminer-opt-sugarchain.git
2、cd cpuminer-opt-sugarchain/
3、./winbuild-cross.sh
then come errors:
/work/miners/cpuminer-opt-sugarchain/depends/curl-7.47.0/include/curl/curlbuild.h:122:23: fatal error: windows.h: 没有那个文件或目录
In file included from /work/miners/cpuminer-opt-sugarchain/depends/curl-7.47.0/include/curl/curl.h:34:0,
from util.c:27:
/work/miners/cpuminer-opt-sugarchain/depends/curl-7.47.0/include/curl/curlbuild.h:122:23: fatal error: windows.h: 没有那个文件或目录
In file included from /work/miners/cpuminer-opt-sugarchain/depends/curl-7.47.0/include/curl/curl.h:34:0,
from miner.h:45,
from sysinfos.c:12:
/work/miners/cpuminer-opt-sugarchain/depends/curl-7.47.0/include/curl/curlbuild.h:122:23: fatal error: windows.h: 没有那个文件或目录
how can i save it?
which linux do you use?
Ubuntu 18.04
sudo apt-get install -y \
build-essential libssl-dev libcurl4-openssl-dev libjansson-dev libgmp-dev automake zlib1g-dev && \
git clone https://github.com/cryptozeny/cpuminer-opt-sugarchain.git && \
cd cpuminer-opt-sugarchain && \
./build-yespower.sh && \
./cpuminer --cputest
@decryp2kanon
sudo apt-get install -y \
build-essential libssl-dev libcurl4-openssl-dev libjansson-dev libgmp-dev automake zlib1g-dev && \
git clone https://github.com/cryptozeny/cpuminer-opt-sugarchain.git && \
cd cpuminer-opt-sugarchain && \
./build-yespower.sh && \
./cpuminer --cputest
I can use those commands to build On ubuntu 18.04,and get the Executable file used on ubuntu correctly.
But My problem is that I can not get the Executable file used on Windows correctly
please use this
https://github.com/cryptozeny/cpuminer-opt-sugarchain/releases/tag/v3.8.8.1.7rc1