You should use the same library as in leptonica.

Zdenko

On Fri, Jun 10, 2016 at 7:22 AM, Supriya Das <[email protected]> wrote:

> Thanks for your reply. Can you please help me out from where i can get
> tiff library which tesseract using.
>
>
> On Thursday, 9 June 2016 20:18:58 UTC+5:30, zdenop wrote:
>>
>> Seems like you are missing tiff library in linking...
>>
>> Anyway OpenCl is experimental feature and there are several issues
>> reported (see issue tracker).
>>
>> Zdenko
>>
>> On Thu, Jun 9, 2016 at 4:40 PM, Supriya Das <[email protected]> wrote:
>>
>>> Hello All,
>>>
>>>      I am trying to build tesseract version 3.04 in opencl version. I
>>> have linked intel opencl sdk. and link libtiff library but when i am trying
>>> to build it getting some linking error.
>>>
>>>     errors are as follow.
>>>
>>>     unresolved external symbol _TIFFCleanup referenced in function
>>> "public: static struct Pix * __cdecl
>>> OpenclDevice::pixReadStreamTiffCl(struct _iobuf *,int)"
>>> (?pixReadStreamTiffCl@OpenclDevice@@SAPAUPix@@PAU_iobuf@@H@Z)
>>> unresolved external symbol _TIFFGetField referenced in function "public:
>>> static struct Pix * __cdecl OpenclDevice::pixReadFromTiffStreamCl(struct
>>> tiff *)" (?pixReadFromTiffStreamCl@OpenclDevice@@SAPAUPix@@PAUtiff@@@Z)
>>> unresolved external symbol _TIFFGetFieldDefaulted referenced in function
>>> "public: static struct Pix * __cdecl
>>> OpenclDevice::pixReadFromTiffStreamCl(struct tiff *)"
>>> (?pixReadFromTiffStreamCl@OpenclDevice@@SAPAUPix@@PAUtiff@@@Z)
>>> unresolved external symbol _TIFFReadDirectory referenced in function
>>> "public: static struct Pix * __cdecl
>>> OpenclDevice::pixReadStreamTiffCl(struct _iobuf *,int)"
>>> (?pixReadStreamTiffCl@OpenclDevice@@SAPAUPix@@PAU_iobuf@@H@Z)
>>> unresolved external symbol _TIFFScanlineSize referenced in function
>>> "public: static struct Pix * __cdecl
>>> OpenclDevice::pixReadFromTiffStreamCl(struct tiff *)"
>>> (?pixReadFromTiffStreamCl@OpenclDevice@@SAPAUPix@@PAUtiff@@@Z)
>>> unresolved external symbol _TIFFReadScanline referenced in function
>>> "public: static struct Pix * __cdecl
>>> OpenclDevice::pixReadFromTiffStreamCl(struct tiff *)"
>>> (?pixReadFromTiffStreamCl@OpenclDevice@@SAPAUPix@@PAUtiff@@@Z)
>>> unresolved external symbol _TIFFReadRGBAImageOriented referenced in
>>> function "public: static struct Pix * __cdecl
>>> OpenclDevice::pixReadFromTiffStreamCl(struct tiff *)"
>>> (?pixReadFromTiffStreamCl@OpenclDevice@@SAPAUPix@@PAUtiff@@@Z)
>>> unresolved external symbol _TIFFFdOpen referenced in function "public:
>>> static struct tiff * __cdecl OpenclDevice::fopenTiffCl(struct _iobuf *,char
>>> const *)" (?fopenTiffCl@OpenclDevice@@SAPAUtiff@@PAU_iobuf@@PBD@Z)
>>> unresolved external symbol _TIFFClientOpen referenced in function
>>> "struct tiff * __cdecl fopenTiffMemstream(char const *,char const
>>> *,unsigned char * *,unsigned int *)" (?fopenTiffMemstream@@YAPAUtiff@
>>> @PBD0PAPAEPAI@
>>>
>>>
>>> Environment:
>>> visual studio 2012
>>> os: Windows 8
>>> opencl : intel sdk.
>>>
>>>
>>> Thanks in advance.
>>>
>>> --
>>> 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/178af5a6-66ab-4796-928d-002153626421%40googlegroups.com
>>> <https://groups.google.com/d/msgid/tesseract-ocr/178af5a6-66ab-4796-928d-002153626421%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/71859dc5-5e92-431d-9b0e-fa661fa61196%40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/71859dc5-5e92-431d-9b0e-fa661fa61196%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/CAJbzG8wo28eZkwZNrMvAzTHNfm5ZhocKQ2_tGrZ3%3DN4EPeVbKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to