Thanks. 

Yes. I may mis-configure the path. 

Now I copy vs2008/ to vs201/0 and open the sln using VS 2010 and build it. 




On Tuesday, September 17, 2013 9:30:54 PM UTC-5, TP wrote:
>
> On Mon, Sep 16, 2013 at 1:57 PM, Qiang Li <[email protected]<javascript:>
> > wrote:
>
>>
>> I am new to Tesseract and try to build on windows 7 using visual studio 
>> 2010
>>
>> My reference: 
>>
>> 1. http://code.google.com/p/tesseract-ocr/wiki/Compiling
>> 2. 
>> http://tesseract-ocr.googlecode.com/svn/trunk/vs2008/doc/setup.html#using-the-latest-tesseractocr-sources
>>
>> I download the library and source code based on 2. 
>>
>> I download the tesseract-<version>-win_vs.zip based on 1. 
>>
>> so in my directory
>>
>>
>>
>> in tesseract-3.02\
>>
>>
>> I can open all the projects but when I build "tesseract". I have error as 
>>
>> >          
>> c:\buildfolder\tesseract-3.02\vs2010\include\leptonica\environ.h(277) : see 
>> previous definition of 'snprintf'
>> 1>  resultiterator.cpp
>> 1>c1xx : fatal error C1083: Cannot open source file: '..
>> \api\resultiterator.cpp': No such file or directory
>> 1>  pageiterator.cpp
>> 1>c1xx : fatal error C1083: Cannot open source file: '..
>> \api\pageiterator.cpp': No such file or directory
>>
>> I do not see these two files in \api\. 
>>
>> I do not know what is wrong with my setup. 
>>
>
> Offhand, I'd suggest re-reading "Initial “Build” directory setup". Looks 
> like your build folder is incorrect. 
>
> [1] 
> http://tesseract-ocr.googlecode.com/svn/trunk/vs2008/doc/setup.html#initial-build-directory-setup
>  
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to