nicehash / nheqminer

Equihash miner for NiceHash
https://www.nicehash.com
MIT License
768 stars 583 forks source link

No rule to make target '/usr/lib/x86_64-linux-gnu/libOpenCL.so', needed by 'nheqminer_AMD'. Stop. #302

Open khunpoum opened 7 years ago

khunpoum commented 7 years ago

iam take error at compile

*** No rule to make target '/usr/lib/x86_64-linux-gnu/libOpenCL.so', needed by 'nheqminer_AMD'. Stop.

In file included from /home/khunpoum/nheqminer/Linux_cmake/nheqminer_AMD/../../ocl_device_utils/opencl.h:12:0,
                 from /home/khunpoum/nheqminer/ocl_silentarmy/ocl_silentarmy.cpp:20:
/opt/AMDAPPSDK-3.0/include/CL/cl.h:1359:1: note: declared here
 clCreateCommandQueue(cl_context                     /* context */,
 ^
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libOpenCL.so', needed by 'nheqminer_AMD'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 95%] Building CXX object CMakeFiles/nheqminer_AMD.dir/home/khunpoum/nheqminer/ocl_silentarmy/sa_blake.cpp.o
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/nheqminer_AMD.dir/all' failed
make[1]: *** [CMakeFiles/nheqminer_AMD.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Ubuntu 16.04.2 LTS Radeon RX570 8gb amdgpu-pro-17.10-450821 AMD-APP-SDK-v3.0.130.136-GA-linux64

calvintam236 commented 7 years ago

Experienced same error. Tried different path /opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so.

GoZippy commented 6 years ago

can you explain "tried different path",,,, what did you do? I have same issue