fireice-uk / xmr-stak-nvidia

Monero NVIDIA miner
GNU General Public License v3.0
248 stars 98 forks source link

Setup on Ubuntu #115

Closed dangrabbits closed 7 years ago

dangrabbits commented 7 years ago

I'm not super linux savvy but I thought I'd have a go setting up a spare GTX 960 in an old box running Ubuntu 17.0.4 with xmr stak nvidia.

The first step of the instructions "sudo apt-get install nvidia-cuda-dev nvidia-cuda-toolkit libmicrohttpd-dev libssl-dev cmake cmake-curses-gui build-essential" goes fine. Takes a while to download and install but no errors and if I run it again now I get:

Reading package lists... Done Building dependency tree
Reading state information... Done build-essential is already the newest version (12.1ubuntu2). cmake is already the newest version (3.7.2-1). cmake-curses-gui is already the newest version (3.7.2-1). libmicrohttpd-dev is already the newest version (0.9.44+dfsg-1ubuntu2). nvidia-cuda-dev is already the newest version (8.0.44-3). nvidia-cuda-toolkit is already the newest version (8.0.44-3). libssl-dev is already the newest version (1.0.2g-1ubuntu11.2). 0 to upgrade, 0 to newly install, 0 to remove and 228 not to upgrade.

The second step "cmake ." just tells me:

CMake Error: The source directory "" does not appear to contain CMakeLists.txt.

I've found various CMakeLists.txt files on the computer but I don't know which one I'm meant to be cmake-ing.

dangrabbits commented 7 years ago

I'm an idiot. The downloaded xmr-stak-nvidia directory is where I run it. Sorry about that.