I need to compile, by the way I use *OpenCL*. My roadact on Ubuntu: sudo apt-get install opencl-headers sudo apt install ocl-icd-opencl-dev export LDFLAGS=-L/usr/lib/x86_64-linux-gnu ./configure --enable-debug --enable-opencl ... Configuration is done. You can now build and install tesseract by running:
Make fails when linking because there is no CUDA (Virtual Machine for me) but your CUDA is OK, so... JB. Le mercredi 1 mai 2019 14:01:32 UTC, JB Data31 a écrit : > > 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/ec1f179f-e7f8-4ee8-970e-b560b1196f5d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

