gurupras/go-cryptonight-miner

Build fails with cgo flags.

Opened this issue · 2 comments

I'm trying to build the miner you made on Ubuntu, however whenever I try to build the program I get the following error:

go build github.com/gurupras/go-cryptonight-miner/cpu-miner/xmrflag in #cgo CFLAGS: -funroll-loops

I'm using Golang version 1.10.2 on Ubuntu 17.04 as of now.

I'll look into this, but just so you know, I haven't updated this to work with Cryptoknight v7. A bit busy with some other projects at the moment, although, it shouldn't be too hard. The core .cl files are all copy-pasted from xmrig

Ah okay. No rush, and thanks for the quick response! I was just wondering if this was something that I was doing wrong.

I'll try looking into it in the meantime as well, and post anything here if I find a solution.