LoyceV May I see the output of '' ls -larthsusr/lib*/libOpenCL.so* ```
Depending on the distro the location of that library will be different.
If you do have the library a simple symbolic link may be all that you need
for vanitygens build machinery to find it.
root@Laptop:~# ls -larthsusr/lib*/libOpenCL.so*
ls: cannot accessusr/lib/libOpenCL.so*: No such file or directory
root@Laptop:~# locate libOpenCL
/usr/lib/i386-linux-gnu/libOpenCL.so.1
/usr/lib/i386-linux-gnu/libOpenCL.so.1.0
/usr/lib/i386-linux-gnu/libOpenCL.so.1.0.0
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
I tried this:
root@Laptop:/usr/lib/x86_64-linux-gnu# cp -a libOpenCL.so.1*usr/lib
But it still doesn't compile (same error):
test@Laptop:~/vanitygen-master$ make oclvanitygen
cc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
Makefile:22: recipe for target 'oclvanitygen' failed
make: *** [oclvanitygen] Error 1
Okay this did the trick to compile: I installed "ocl-icd-opencl-dev". It did have to remove one Nvidia-driver though, but after this, compile worked fine.
Next problem is getting this to work.
test@Laptop:~/vanitygen-master$ ./oclvanitygen 1test
Difficulty: 264104224
clGetPlatformIDs(0): Unknown code -1001
clGetPlatformIDs(0): Unknown code -1001
Available OpenCL platforms:
Since the drivers were so bad, seems like I'm not running Nvidia-drivers for my screen at the moment.