Post
Topic
Board Altcoin Discussion
Re: [XPM] Working on a GPU miner for Primecoin, new thread :)
by
pyromaniac
on 05/09/2013, 15:02:49 UTC
Please help me compile a file libblkmaker, so that I could use address different than mu1DxMiRUgzjNrVyVeHeRhqDm3XVK12SK2 in my config. I'm not a programmer.
edit base58.c in the libblkmaker dir and add these middle lines:

      case   0:  // Bitcoin pubkey hash
      case  23:  // Primecoin pubkey hash
      case 111:  // Testnet pubkey hash

and

      case   5:  // Bitcoin script hash
      case  83:  // Primecoin script hash
      case 196:  // Testnet script hash

So, look up those bitcoin/testnet lines and add the primecoin one. Then compile Smiley (don't forget autogen.sh)
You can also just redownload the library sources (from https://dl.dropboxusercontent.com/u/55025350/bitcoin-libblkmaker.zip). I have updated the source.
Thanks! Now next problem is GPU is not used. How can I fix it?

Quote
Share thread started
GeneratePrimeTable() : prime table [1, 262144] generated with 23000 primes
Available CPU mining algorithms: hp7
Using default: hp7
Creating 2 CPU threads.
1...Warning: can't set thread priority
2...done
List of platforms:
        0       AMD Accelerated Parallel Processing
Using platform number 0
2013-09-05 19:08:29 Error: Error getting OpenCL device IDs