No, right now I have compiled Cppan, and try to figure out what I have to 
do next ...

On Tuesday, October 16, 2018 at 12:29:33 PM UTC+3, zdenop wrote:
>
> You will do everything including complaining but not to read and follow 
> instructs. Right? ;-)
>
> https://github.com/tesseract-ocr/tesseract/wiki/Compiling#windows
>
> Zdenko
>
>
> ut 16. 10. 2018 o 10:52 <flavi...@gmail.com <javascript:>> napísal(a):
>
>> It is a endless story :)
>>
>> I have downloded from here cppan,  and I have tried to generate a .sln 
>> file with CMake ... but I get the following errors:
>>
>> CMake Error at CMakeLists.txt:130 (find_package):
>> By not providing "FindCPPAN.cmake" in CMAKE_MODULE_PATH this project has
>> asked CMake to find a package configuration file provided by "CPPAN", but
>> CMake did not find one.
>>
>> Could not find a package configuration file provided by "CPPAN" with any 
>> of
>> the following names:
>>
>> CPPANConfig.cmake
>> cppan-config.cmake
>>
>> Add the installation prefix of "CPPAN" to CMAKE_PREFIX_PATH or set
>> "CPPAN_DIR" to a directory containing one of the above files. If "CPPAN"
>> provides a separate development package or SDK, be sure it has been
>> installed.
>>
>> strange ... is there any method to compile leptonica and tesseract 
>> successfully ?
>>
>> On Tuesday, October 16, 2018 at 11:22:15 AM UTC+3, zdenop wrote:
>>>
>>> most easy way for you would be to compile tesseract on windows with 
>>> cppan. instruction are on wiki...
>>>
>>> Dňa ut 16. 10. 2018, 10:14 <flavi...@gmail.com> napísal(a):
>>>
>>>> Thank you a lot for your prompt answer ! I really appreciate that !
>>>>
>>>> I have run in cmd line: tesseract --help-extra, I don't spot any 
>>>> graphic library option.
>>>>
>>>> I have to tell you that I am using Windows10, and I have compiled 
>>>> leptonica with VS2017, taken from here: 
>>>> https://github.com/danbloomberg/leptonica
>>>>
>>>> I have generate a .sln file with CMake, but I get some warnings there:
>>>>
>>>> Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR) 
>>>>
>>>> Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) 
>>>>
>>>> Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) 
>>>>
>>>> Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) 
>>>>
>>>> Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR) 
>>>>
>>>> Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) 
>>>>
>>>> Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
>>>>
>>>>
>>>> which tell me that I haven't some libraries, but I really don't know 
>>>> how to achieve them ...
>>>>
>>>>
>>>> Regards,
>>>>
>>>>
>>>> Flaviu.
>>>>
>>>>  
>>>>
>>>> On Tuesday, October 16, 2018 at 10:10:14 AM UTC+3, zdenop wrote:
>>>>>
>>>>> Really? Where did you look???
>>>>> What is output of leptonica "./configure --help" ??? What is printed 
>>>>> on screen when you run leptonica configure?
>>>>>
>>>>> Zdenko
>>>>>
>>>>>
>>>>> ut 16. 10. 2018 o 9:03 <flavi...@gmail.com> napísal(a):
>>>>>
>>>>>> Hi zdenop. I have read here: 
>>>>>>
>>>>>>
>>>>>> https://groups.google.com/forum/#!searchin/tesseract-ocr/Error$20in$20pixReadMem$3A$20tiff$3A$20no$20pix$20returned$20by$20tesseract%7Csort:date/tesseract-ocr/v_xZzoiUMUo/fMx9XZ-cBQAJ
>>>>>>
>>>>>> that someone who had the same issue like me, you told him that "you 
>>>>>> decided to build leptonica without support of common image formats" ... 
>>>>>> where can I choose this option ? Because when I compiled leptonica 
>>>>>> library, 
>>>>>> I haven't seen any option like that ...
>>>>>>
>>>>>> On Friday, October 12, 2018 at 4:06:38 PM UTC+3, zdenop wrote:
>>>>>>>
>>>>>>> Did you read error message?
>>>>>>> Did you bother to checked leptonica fuctionality + documentation (in 
>>>>>>> leptonica source code ;-) )?
>>>>>>>
>>>>>>> Zdenko
>>>>>>>
>>>>>>>
>>>>>>> pi 12. 10. 2018 o 11:39 <flavi...@gmail.com> napísal(a):
>>>>>>>
>>>>>>>> Hi. I am a tesseract beginner who stuck into initial API example:
>>>>>>>>
>>>>>>>> Pix* pImage = pixRead("C:\\Flaviu\\imagine.png");
>>>>>>>> printf("pImage pointer value: %p\n", pImage);
>>>>>>>>
>>>>>>>> The pImage value is 0000 ... why ?
>>>>>>>>
>>>>>>>> This is code that I have tried:
>>>>>>>>
>>>>>>>> tesseract::TessBaseAPI api;
>>>>>>>> if (0 != api.Init(NULL, NULL))
>>>>>>>> {
>>>>>>>> std::cout << "====tesseract initialize error\n";
>>>>>>>> std::cout << "====Last error:" << GetLastError() << std::endl;
>>>>>>>> }
>>>>>>>>
>>>>>>>> Pix* pImage = pixRead("C:\\Flaviu\\imagine.png");
>>>>>>>> printf("pImage pointer value: %p\n", pImage);
>>>>>>>>
>>>>>>>> and the result is:
>>>>>>>>
>>>>>>>> Error in pixReadMemTiff: function not present
>>>>>>>> Error in pixReadMem: tiff: no pix returned
>>>>>>>> Error in pixaGenerateFontFromString: pix not made
>>>>>>>> Error in bmfCreate: font pixa not made
>>>>>>>> Error in pixReadStreamPng: function not present
>>>>>>>> Error in pixReadStream: png: no pix returned
>>>>>>>> Error in pixRead: pix not read
>>>>>>>> pImage pointer value: 00000000
>>>>>>>>
>>>>>>>> I have installed Tesseract-OCR in Program Files, and I have 
>>>>>>>> compiled Leptonica and Tesseract library on my machine (Win10 64 bit), 
>>>>>>>> run 
>>>>>>>> on VS2017 ... 
>>>>>>>>
>>>>>>>> To someone who work with tesseract for long time, perhaps is simple 
>>>>>>>> thing, but for me is not ... can you help me into solving this issue ?
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> 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 tesseract-oc...@googlegroups.com.
>>>>>>>> To post to this group, send email to tesser...@googlegroups.com.
>>>>>>>> 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/ab85cbf9-2183-4cea-a433-7742af33d4f2%40googlegroups.com
>>>>>>>>  
>>>>>>>> <https://groups.google.com/d/msgid/tesseract-ocr/ab85cbf9-2183-4cea-a433-7742af33d4f2%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 tesseract-oc...@googlegroups.com.
>>>>>> To post to this group, send email to tesser...@googlegroups.com.
>>>>>> 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/d0a3cc3b-3099-41ba-8355-83a20eb56be0%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/tesseract-ocr/d0a3cc3b-3099-41ba-8355-83a20eb56be0%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 tesseract-oc...@googlegroups.com.
>>>> To post to this group, send email to tesser...@googlegroups.com.
>>>> 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/91eb11ec-cbad-4599-8f19-b8b9d98b1fbc%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/tesseract-ocr/91eb11ec-cbad-4599-8f19-b8b9d98b1fbc%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 tesseract-oc...@googlegroups.com <javascript:>.
>> To post to this group, send email to tesser...@googlegroups.com 
>> <javascript:>.
>> 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/8d9fae01-7cfc-4224-80e9-61b121f0253d%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tesseract-ocr/8d9fae01-7cfc-4224-80e9-61b121f0253d%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 tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
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/942992f5-9d5b-4643-9220-772807d5d248%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to