fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.05k stars 1.8k forks source link

Trouble Linux Mint 19.1 Cuda GPU and CPU Mining Installations Process #2417

Open Carlo-Raptura opened 5 years ago

Carlo-Raptura commented 5 years ago

Good Evening. I have a Problem during the install Process from the xmr-stak Mineur! I use Linux Mint 19.1 with CUDA, Nvidia GTX 670, GPU. I used the Manuar Compile "xmr-stak for Linux" and by the second Last Step the Troubles occurred. Thank you very much for Help! Yours Sincerely Carlo

c@CR:~/xmr-stak/build$ cmake .. -- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found CUDA: /usr/local/cuda (found suitable version "10.1", minimum required is "7.5") -- Looking for CL_VERSION_2_0 -- Looking for CL_VERSION_2_0 - not found -- Looking for CL_VERSION_1_2 -- Looking for CL_VERSION_1_2 - not found -- Looking for CL_VERSION_1_1 -- Looking for CL_VERSION_1_1 - not found -- Looking for CL_VERSION_1_0 -- Looking for CL_VERSION_1_0 - not found -- Could NOT find OpenCL (missing: OpenCL_LIBRARY OpenCL_INCLUDE_DIR) CMake Error at CMakeLists.txt:305 (message): OpenCL NOT found: use-DOpenCL_ENABLE=OFF` to build without OpenCL support for AMD gpu's

-- Configuring incomplete, errors occurred! See also "/home/c/xmr-stak/build/CMakeFiles/CMakeOutput.log". See also "/home/c/xmr-stak/build/CMakeFiles/CMakeError.log". caccialupi@CORSAIR:~/xmr-stak/build$ make install make: *** No Rule, for to creat „install“. End.`

Folder of the Error Logs: /xmr-stak/build/CMakeFiles

CMakeOutput.log CMakeError.log

lordhugo7880 commented 5 years ago

OpenCL does not seem to be (fully) installed, so you need to install three packages for that, as described here:

http://hansekbrand.se/code/OpenCLAgain.html

And here:

https://wiki.tiker.net/OpenCLHowTo

psychocrypt commented 5 years ago

Add the suggested option to cmake to disable opencl. Please see also our documentation how to use cmake and hiw you can disable opencl.

Ryo-RU commented 5 years ago

Carlo-Raptura, install OpenCL or disable it if you don't have any amd cards. Check 2.2.4 step here https://www.reddit.com/r/XmrStak/wiki/guides/startup#wiki_2._ubuntu_18.10_.2B_nvidia_.28compiling_from_source.29

Carlo-Raptura commented 5 years ago

Thanks very much for your Answers. Yes I would NOT install or use OpenCL, because I have CUDA. I have not a AMD GPU. only Nvidia Thank you very much the Solution was:

cmake .. -DopenCL_ENABLE=OFF

tohitsugu commented 2 years ago

Looks like this can be closed