If my memories are goods you have to combine 2 options :
-L <the path of the libs>
-l <"the name" of the lib>, "the name" because -lxxx correspond to a file
libxxx.a or libxxx.so, depend on static or dynamic file.

-lOpenCL correspond to a file libopencl.[a,so] , did you do the
case-insensitive command *find / -iname "*opencl*" -print* to locate the
lib file ?

@*JB*Δ <http://jbigdata.fr/jbigdata/index.html>



Le mer. 1 mai 2019 à 14:28, C493d <[email protected]> a écrit :

> Yes, I made a symbolic link from it to /usr/include/CL which is why it's
> strange tesseract can't find it
> (it was at /usr/local/cuda-10.0/targets/x86_64-linux/include/CL)
>
> On Wednesday, 1 May 2019 14:37:16 UTC+3, zdenop wrote:
>>
>> this means that linker is not able to find opencl library...
>> Do you know nvidia opencl library and its location?
>>
>> Zdenko
>>
>>
>> st 1. 5. 2019 o 12:56 C493d <[email protected]> napísal(a):
>>
>>> /usr/bin/ld: cannot find -lOpenCL
>>>>>
>>>>
>>> How can I fix this? Any parameter I can pass?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "tesseract-ocr" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/tesseract-ocr.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tesseract-ocr/a65f0ed6-0d6a-491d-a540-31c68c325741%40googlegroups.com
>>> <https://groups.google.com/d/msgid/tesseract-ocr/a65f0ed6-0d6a-491d-a540-31c68c325741%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tesseract-ocr/777b944e-3f95-49af-a890-64e48de62e50%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/777b944e-3f95-49af-a890-64e48de62e50%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CA%2BPN%3DMw%3DSn6Ta_zvQ1MufOB-VTc7egHVOFVqju9jLzHWjZ7GeA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to