Post
Topic
Board Mining (Altcoins)
Re: RandomX Benchmarks! https://randomx.monerobenchmarks.info
by
joblo
on 14/11/2019, 23:16:33 UTC
I haven't found a xmrig discussion thread so I'll post here.

Has anyone gotten cuda-plugin to compile on Ubuntu 18.04?
It compiles on 19.04 but 18.04 fails:

I just asked them about this on reddit, this is their response:

CUDA has very strict compiler requirements, so you have 2 options:

1. Update CUDA to recent version.

2. Install older compiler like
sudo apt install gcc-6 g++-6
and specify compiler on cmake phase
cmake .. -DCMAKE_C_COMPILER=gcc-6 -DCMAKE_CXX_COMPILER=g++-6

Link to answer: https://www.reddit.com/r/MoneroMining/comments/dvv637/xmrig_500_stable_release_unified_3_in_1_miner/f7iota4?utm_source=share&utm_medium=web2x
install latest cuda: it should use gcc 7

gcc 6 did the trick. It's the simpler choice as the package is available in the repo, cuda 10 is not.

Thanks.