profanity2 icon indicating copy to clipboard operation
profanity2 copied to clipboard

error whle compile in ubuntu

Open MAITHI19 opened this issue 1 year ago • 5 comments

hello sir im geting this erors /usr/bin/ld: cannot find -lOpenCL

/usr/include/CL/cl_version.h:22:104: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’ 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")

please help me how to fix this

MAITHI19 avatar Jul 18 '23 09:07 MAITHI19

./profanity2.x64 --leading 0000000 -w 256 -z "7d798acc490f26daa63e5239b91c609c290b42cfca72430c098f1521ecd93b2ad79a56030c01122fe25ba84d0f5cddb977bfb9f70e7a959cf884c5e76d5d6c88" Mode: leading Target: Address Devices:

not showing devices please help

MAITHI19 avatar Jul 18 '23 09:07 MAITHI19

same issue. Not showing any devices

adamiss5138 avatar Aug 30 '23 12:08 adamiss5138

how did you fix the '/usr/bin/ld: cannot find -lOpenCL' ??

stillLearning03 avatar Sep 08 '23 13:09 stillLearning03

./profanity2.x64 --leading 0000000 -w 256 -z "7d798acc490f26daa63e5239b91c609c290b42cfca72430c098f1521ecd93b2ad79a56030c01122fe25ba84d0f5cddb977bfb9f70e7a959cf884c5e76d5d6c88" Mode: leading Target: Address Devices:

not showing devices please help

You need to install the cuda toolkit:

sudo apt install nvidia-cuda-toolkit

l3wi avatar Dec 02 '23 01:12 l3wi

see https://github.com/1inch/profanity2/issues/39

Umiiii avatar May 26 '24 08:05 Umiiii