-
-
Save xorrbit/8848780 to your computer and use it in GitHub Desktop.
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 :) | |
8 miner threads started, using 'keccak' algorithm.
Illegal instruction (core dumped)
./autogen.sh: line 8: aclocal: command not found
same problem here
tried reinstalling automake with no joy
thank you seemed to work!
I got it to work fine on Linux, but will not compile under Cygwin in Windows 7. "C compiler cannot create executables". I do have gcc and related compilers, even the mingw gcc, etc.
Line 8 sucks
CFLAGS="=-03 -march=native" ./configure
-O3(capital o)
I got it to working under windows 8.1 x64
when you have the warning : "aclocal: command not found",
the make sure you selected the package "automake: Wrapper scripts for automake and aclocal".
Also package "Net/openSSL-devel" is required!
cheers
frank754 install openssl and then also just run ./configure without all the preamble
I have to figure out how to install the wallet now.
What a load of !@#$ all this is...
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
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?
./autogen.sh: line 8: aclocal: command not found
how to fix??