hi, Thanks for your help.,But, we can't able to figure it out ,why we are getting this below error while linking. but, it compiles fine.;
version's : tesseract304 , leptonica-1.72, liblept168d.lib + other libs (got it from leptonica-1.68-win32-lib-include-dirs.zip ), visual studio 2010. plz help.. Error details :- Error 1 error LNK2019: unresolved external symbol __imp__l_CIDataDestroy referenced in function "private: static bool __cdecl tesseract::TessPDFRenderer::imageToPDFObj(struct Pix *,char *,long,char * *,long *)" (?imageToPDFObj@TessPDFRenderer@tesseract@@CA_NPAUPix@ @PADJPAPADPAJ@Z) D:\tesseract-master\vs2010\libtesseract\pdfrenderer.obj libtesseract304 Error 2 error LNK2019: unresolved external symbol __imp__l_generateCIDataForPdf referenced in function "private: static bool __cdecl tesseract::TessPDFRenderer::imageToPDFObj(struct Pix *,char *,long,char * *,long *)" (?imageToPDFObj@TessPDFRenderer@tesseract@ @CA_NPAUPix@@PADJPAPADPAJ@Z) D:\tesseract-master\vs2010\libtesseract\pdfrenderer.obj libtesseract304 Error 3 error LNK2019: unresolved external symbol __imp__pixGenerateCIData referenced in function "private: static bool __cdecl tesseract::TessPDFRenderer::imageToPDFObj(struct Pix *,char *,long,char * *,long *)" (?imageToPDFObj@TessPDFRenderer@tesseract@@CA_NPAUPix@ @PADJPAPADPAJ@Z) D:\tesseract-master\vs2010\libtesseract\pdfrenderer.obj libtesseract304 Error 4 error LNK2019: unresolved external symbol __imp__pixSetSpp referenced in function "private: static bool __cdecl tesseract::TessPDFRenderer::imageToPDFObj(struct Pix *,char *,long,char * *,long *)" (?imageToPDFObj@TessPDFRenderer@tesseract@@CA_NPAUPix@ @PADJPAPADPAJ@Z) D:\tesseract-master\vs2010\libtesseract\pdfrenderer.obj libtesseract304 Error 5 error LNK2019: unresolved external symbol __imp__pixGetSpp referenced in function "private: static bool __cdecl tesseract::TessPDFRenderer::imageToPDFObj(struct Pix *,char *,long,char * *,long *)" (?imageToPDFObj@TessPDFRenderer@tesseract@@CA_NPAUPix@ @PADJPAPADPAJ@Z) D:\tesseract-master\vs2010\libtesseract\pdfrenderer.obj libtesseract304 Error 6 error LNK2019: unresolved external symbol __imp__pixForegroundFraction referenced in function "protected: float __thiscall tesseract::EquationDetect::ComputeForegroundDensity(class TBOX const &)" (?ComputeForegroundDensity@EquationDetect@tesseract@@IAEMABVTBOX@@ @Z <https://github.com/Z>) D:\tesseract-master\vs2010\libtesseract\equationdetect.obj libtesseract304 Error 7 error LNK2019: unresolved external symbol __imp__pixaConvertToPdf referenced in function "public: static void __cdecl tesseract::LineFinder::FindAndRemoveLines(int,bool,struct Pix *,int *,int *,struct Pix * *,class tesseract::TabVector_LIST *,class tesseract::TabVector_LIST *)" (?FindAndRemoveLines@LineFinder@tesseract@ @SAXH_NPAUPix@@PAH2PAPAU3@PAVTabVector_LIST@2@4@Z) D:\tesseract-master\vs2010\libtesseract\linefind.obj libtesseract304 Error 8 error LNK1120: 7 unresolved externals D:\tesseract-master\vs2010\DLL_Debug\libtesseract304d.dll libtesseract304 On Sun, Jul 19, 2015 at 7:40 PM, zdenko podobny <zde...@gmail.com> wrote: > I am not sure if I understand your intentions, but as far as I know it is > possible to build leptonica ad tesseract on windows with msys2 (and msys). > > Also charlesw[1] provide leptonica and tesseract library and executable > build with VS2012 - but IMO does not use the latest code... > > [1] > https://github.com/charlesw/tesseract/tree/dev_3.03/src/lib/TesseractOcr/ > > Zdenko > > On Sat, Jul 18, 2015 at 10:14 PM, Kasi Selvam <kasiselv...@gmail.com> > wrote: > >> OK. >> So, ideally we can't able to use tedderact new version. If I want to >> use, do some changes in build of laptonica 1.72 and then I can use it >> right? Or migrate to linux box >> >> On Sat, Jul 18, 2015, 9:32 PM zdenko podobny <zde...@gmail.com> wrote: >> >>> Last official leptonica windows release is 1.68. >>> So if you build leptonica by yourself, you should change modify >>> tesseract solution based on your leptonica compilation... >>> >>> Zdenko >>> >>> On Sat, Jul 18, 2015 at 8:43 AM, Kasi Selvam <kasiselv...@gmail.com> >>> wrote: >>> >>>> >>>> >>>> On Monday, 29 June 2015 13:16:53 UTC+5:30, Jeff Breidenbach wrote: >>>>> >>>>> You need version 1.71 or later. Current leptonica release is 1.72. >>>>> >>>> >>>> hi, >>>> getting same error after using leptonica release is 1.72 in VB 2010 >>>> plz help to resolve this issue.. >>>> >>>> Error 1 error LNK1104: cannot open file 'liblept171d.lib' >>>> D:\tesseract-master\vs2010\libtesseract\LINK libtesseract304 >>>> Error 2 error LNK1104: cannot open file 'liblept171d.lib' >>>> D:\tesseract-master\vs2010\tesseract\LINK tesseract >>>> >>>> -- >>>> 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 http://groups.google.com/group/tesseract-ocr. >>>> >>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/tesseract-ocr/841bffe3-d62f-435d-9005-ce3775073191%40googlegroups.com >>>> <https://groups.google.com/d/msgid/tesseract-ocr/841bffe3-d62f-435d-9005-ce3775073191%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 a topic in the >>> Google Groups "tesseract-ocr" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/tesseract-ocr/HEQFaXhK4FQ/unsubscribe. >>> To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/tesseract-ocr. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8z%3DGCe2hRsBDPcUHJFpYYLb%2BN9QM%3DPT1BroVd_oksjuvA%40mail.gmail.com >>> <https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8z%3DGCe2hRsBDPcUHJFpYYLb%2BN9QM%3DPT1BroVd_oksjuvA%40mail.gmail.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 http://groups.google.com/group/tesseract-ocr. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tesseract-ocr/CAHCvER3Yf%2Br3NSaHBA2b7YE74iFYZZzLWpiVq4s7VVm%3DH1KWhQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/tesseract-ocr/CAHCvER3Yf%2Br3NSaHBA2b7YE74iFYZZzLWpiVq4s7VVm%3DH1KWhQ%40mail.gmail.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 a topic in the > Google Groups "tesseract-ocr" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tesseract-ocr/HEQFaXhK4FQ/unsubscribe. > To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/tesseract-ocr. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xkxktta-UWXYZ-%2BxZieKZsbRdT3ygdSMpgxX4X_9KzHw%40mail.gmail.com > <https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8xkxktta-UWXYZ-%2BxZieKZsbRdT3ygdSMpgxX4X_9KzHw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- thanx and regards, from, Kasi selvam K -- 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 http://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAHCvER0_2EJDR8UiQ-g-SPfEn5%2B1j4r1ZAM1SbYgLM-gcoKDFw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.