nheqminer icon indicating copy to clipboard operation
nheqminer copied to clipboard

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

Open khunpoum opened this issue 7 years ago • 2 comments

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

khunpoum avatar Jul 28 '17 01:07 khunpoum

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

calvintam236 avatar Aug 04 '17 05:08 calvintam236

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

GoZippy avatar Dec 31 '17 20:12 GoZippy