Bitcoin Forum
July 17, 2024, 11:26:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: [XMR] Tutorial: How to compile your mining software on Linux ? on: December 18, 2016, 07:53:20 AM
Has anyone managed to compile KlausT's ccminer on Ubuntu?

If so which version of Ubuntu, any tips etc?

I get the following when running make on Ubuntu 14.04.   I believe I have my path set correctly.

Code:
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -msse2  -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME   -g -O2 -MT ccminer-cpu-miner.o -MD -MP -MF .deps/ccminer-cpu-miner.Tpo -c -o ccminer-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
cpu-miner.c:39:26: fatal error: cuda_runtime.h: No such file or directory
 #include <cuda_runtime.h>
Same error for me on Ubuntu 16.04 - Cuda-8.0 - gcc-4.7  Huh

SOLVED
I managed by modifying 2 files :

"cpu-miner.c" line 39, change #include <cuda_runtime.h> by
#include </usr/local/cuda/include/cuda_runtime.h>

"cryptonight.h" line 2, change #include <cuda_runtime.h> by
#include </usr/local/cuda/include/cuda_runtime.h>

then,
make
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: EWBF's CUDA Zcash miner on: December 10, 2016, 01:03:50 PM
Thanks!!
Work fine (for now  Wink) on Ubuntu 16.04 and GTX 750 Ti stock @ 58 sol/s for 38W on Dwarfpool.com

It is bad comaitible with dwarf right now.

For now, apparently it work! Have you seen a problem with Dwarfpool?
3  Alternate cryptocurrencies / Mining (Altcoins) / Re: EWBF's CUDA Zcash miner on: December 10, 2016, 12:51:05 PM
Thanks!!
Work fine (for now  Wink) on Ubuntu 16.04 and GTX 750 Ti stock @ 58 sol/s for 38W on Dwarfpool.com
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!