I added some windows lib like user32 and gdi and errors are gone, Makefile also builded an liblept dll. I have attached that windows makefile.
On Monday, August 17, 2015 at 5:21:11 PM UTC+5:30, Anshul Maheshwari wrote: > > i have given a try to compile leptonica on windows, but I am having > following error > leptwin.obj : error LNK2019: unresolved external symbol __imp_DeleteObject > referenced in function pixGetWindowsHBITMAP > leptwin.obj : error LNK2019: unresolved external symbol > __imp_CreateDIBSection referenced in function DSCreateDIBSection > leptwin.obj : error LNK2019: unresolved external symbol __imp_GetObjectA > referenced in function pixGetWindowsHBITMAP > leptwin.obj : error LNK2019: unresolved external symbol __imp_GetDC > referenced in function DSCreateDIBSection > leptwin.obj : error LNK2019: unresolved external symbol __imp_ReleaseDC > referenced in function DSCreateDIBSection > > may be some library is missing? > > On Friday, August 14, 2015 at 6:38:49 PM UTC+5:30, Anshul Maheshwari wrote: >> >> I had a hard luck on windows, will wait for official release of tesseract >> for windows. >> Till then move back to 3.02 >> >> On Friday, August 14, 2015 at 10:28:19 AM UTC+5:30, Anshul Maheshwari >> wrote: >>> >>> >>> >>> On Friday, August 14, 2015 at 12:03:15 AM UTC+5:30, zdenop wrote: >>>> >>>> >>>> >>>> Zdenko >>>> >>>> On Thu, Aug 13, 2015 at 4:59 PM, Anshul Maheshwari <[email protected] >>>> > wrote: >>>> >>>>> Hello, >>>>> >>>>> Are there any pre-built library for windows of 3.04 tesseract. >>>>> >>>> There are only cygwin based[1]. Visual Studio 2012 x86 and x64 can be >>>> found at C# tesseract project[2], but it looks like there are 3 months old >>>> e.g. not based on official release... >>>> [1] >>>> https://groups.google.com/d/msg/tesseract-ocr/dqT_KjKq0BM/PUMvC7DmIwAJ >>>> [2] >>>> https://github.com/charlesw/tesseract/tree/dev_3.03/src/lib/TesseractOcr >>>> >>>>> >>>>> If prebuilt binary does not exist, have any one one tried tesseract to >>>>> build with Visual Studio 2015. >>>>> >>>> see forum[3] or issues [4];-) >>>> [3] >>>> https://groups.google.com/d/msg/tesseract-ocr/-Rey971p_Io/Bj6nEo35BwAJ >>>> [4] https://github.com/tesseract-ocr/tesseract/pull/81 >>>> >>>> >>>>> In git repository documentation say it works well only for vs2008. >>>>> >>>> Where? >>>> >>>>> >>>>> In README file of repository there is following statement >>> If you are building from the sources, the recommended build platform is >>> VC++ Express 2008 (optionally 2010). >>> >>> >>> >>>> Thanks >>>>> Anshul Maheswari >>>>> >>>>> -- >>>>> 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 http://groups.google.com/group/tesseract-ocr. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/tesseract-ocr/36ea3186-de82-4a66-a214-c9a552d497b3%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/tesseract-ocr/36ea3186-de82-4a66-a214-c9a552d497b3%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 http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/781a1b45-518d-4e1f-9f29-11e4504c066d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
compile.mk
Description: Binary data

