genesismining / sgminer-gm

A multi-algo GPU miner
GNU General Public License v3.0
340 stars 146 forks source link

XMR - cryptonight.cl file missing #68

Open carrolltondatago opened 6 years ago

carrolltondatago commented 6 years ago

When I start up version 5.5.5 the sgminer_ubuntu64 pre compiled version posted here. I can execute sgminer_ubuntu64 -n and see my openCL graphics adapter. But with a config file it dies with a cryptonight.cl file missing or unreadable....Any suggestions?

losttime commented 6 years ago

I'm having the same thing happen. Did you end up getting around it @carrolltondatago ?

losttime commented 6 years ago

I think it can be solved by copying the cryptonight.cl file from github to the directory where sgminer_ubuntu64 is found. I believe it looks there for the kernel files by default.

Alternatively, I ended up cloning the whole sgminer-gm repo and supplying the repo path in my config file

{
  "pools|: [
    ...
  ],
  "kernel-path": "/path/to/repo/sgminer-gm/kernel"
}

I'm still running into another issue, but at least I seem to have gotten past this one.