Last active
June 18, 2016 12:20
-
-
Save xorrbit/8848780 to your computer and use it in GitHub Desktop.
Instructions for compiling maxcoin-cpuminer on Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Instructions for compiling maxcoin-cpuminer on Windows: | |
1. Tip me some BTC at 18Hrj6cmmCzCGzv7wVmKFxjYvUSwugvi41 or Doge at | |
DUCYmX3EYJc4JiHfdVN6pPGM98S6CtoyVm :) | |
2. Download and install Cygwin 64 bit setup from http://www.cygwin.com/. Here | |
is a direct link to the latest version: http://cygwin.com/setup-x86_64.exe | |
3. Run the setup as administrator. Use defaults until you get to the package | |
selection screen. Find these packages one by one and click next to them where | |
it says 'skip' to mark them for installation (skip should change to a version number): | |
devel/gcc-g++ | |
libs/libcurl-devel | |
devel/automake | |
devel/make | |
archive/unzip | |
net/wget | |
devel/git | |
4. Hit next, then next again to mark all dependencies and begin downloading / | |
installing packages. | |
5. Wait a few minutes for everything to finish downloading/installing. | |
6. Hit finish. | |
7. Open a cygwin terminal as administrator either by going to Start menu -> Cygwin | |
-> Cygwin 64 terminal, or runing C:\Cygwin64\cygwin.bat. All future commands are | |
done from this terminal. | |
8. Download maxcoin-cpuminer source from their github using the following command: | |
git clone https://github.com/Max-Coin/cpuminer.git | |
9. Change dirs: | |
cd cpuminer | |
10. Mark autogen.sh as executable: | |
chmod +x autogen.sh | |
11. Run autogen.sh | |
./autogen.sh | |
12. Run the configure script, optimizing it for speed: | |
CFLAGS="-O3 -march=native" ./configure | |
13. Compile it: | |
make | |
14. Assuming you have no errors, run it in benchmark mode: | |
./minerd.exe -a keccak --benchmark | |
15. If it works and gives you a hashrate, congratulations, you now have a | |
Windows version of maxcoin-cpuminer ready to go. Once the wallet is released | |
you can connect it to a wallet rpc like normal. The next steps describe how | |
it should work. | |
16. Download the wallet from maxcoin.co.uk. | |
17. Run it and let it sync the blockchain. | |
18. Close it. | |
19. Create a maxcon.conf file alongside the wallet with the following in it: | |
rpcuser=user | |
rpcpassword=password | |
rpcallowip=127.0.0.1 | |
rpcport=9339 | |
daemon=1 | |
server=1 | |
gen=0 | |
20. Restart maxcoin wallet | |
21. Run your minerd.exe like the following: | |
./minerd.exe -a keccak -o http://127.0.0.1:9339 -O user:password | |
22. You are now solo mining! | |
23. If a pool comes up and you'd like to connect to it, just re-run minerd.exe | |
like this: | |
./minerd.exe -a keccak -o stratum://pool-goes-here.com:9339 -O user:password | |
16. If this helped you, feel free to tip me some BTC at | |
18Hrj6cmmCzCGzv7wVmKFxjYvUSwugvi41 or Doge at DUCYmX3EYJc4JiHfdVN6pPGM98S6CtoyVm :) | |
Great post but you have to follow instructions from the comments as well to get it working
twistedup +1
I compiled the wallet from http://www.youtube.com/watch?v=Bncy7H-vZFw that uses a Reddit post and it is still syncing after about 18 hours with the difficulty rising from about 700 to 34,000 (>:[) . Some Maxcoin project tweet suggests linking temporarily an exchange wallet to the miner for some issue they have which I would like to do. I have the cpuminer and a blockchain wallet address so what is the command line to link the blockchain address to the cpuminer?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Everything was going FINE-Until i typed the MAKE command, then it just says No Such File or Directory??
what did i do wrong thnkx
NVM, i was missing "Net/openSSL-devel" THANK YOU->The-real-Urb