Re: Problem building libtesseract3.02 with MS VC++ 2008

2012-09-04 Thread Davor Pleskina
Sorry for late reaction, guys. My question was simple - about wrong declaration regardless in which file it was found; and my question was addressed to C++ programmers who know how to answer this. Both was ignored with some kind of RTFM answers. However, it helped me to find *correct* declarati

Re: Problem building libtesseract3.02 with MS VC++ 2008

2012-08-24 Thread TP
On Thu, Aug 23, 2012 at 12:24 PM, Davor Pleskina wrote: > I tried to use 1.69. But it happens 1.68 has the same error (wrong > definition) in allheaders.h. Never mentioned leptprotos.h. Leptonica 1.69 is *NOT* officially supported on Windows. Dan told me it was a Linux-only quick and dirty relea

Re: Problem building libtesseract3.02 with MS VC++ 2008

2012-08-24 Thread zdenko podobny
On Thu, Aug 23, 2012 at 9:24 PM, Davor Pleskina wrote: > Hello, > > I tried to use 1.69. But it happens 1.68 has the same error (wrong > definition) in allheaders.h. Never mentioned leptprotos.h. > > http://tesseract-ocr.googlecode.com/svn-history/r683/trunk/vs2008/doc/setup.html : First create

Re: Problem building libtesseract3.02 with MS VC++ 2008

2012-08-23 Thread Davor Pleskina
Hello, I tried to use 1.69. But it happens 1.68 has the same error (wrong definition) in allheaders.h. Never mentioned leptprotos.h. As I said - I rarely used C/C++ (last thing I made in C was some indexing function for Clipper; I am mostly Delphi programmer) so that error looked like a show

Re: Problem building libtesseract3.02 with MS VC++ 2008

2012-08-23 Thread TP
On Thu, Aug 23, 2012 at 11:41 AM, zdenko podobny wrote: > BTW: I did not need to change leptprotos.h - I have there > LEPT_DLL extern void setPixMemoryManager ( void *((*allocator)(size_t)), > void ((*deallocator)(void *)) ); The OP apparently wasn't following the recommendation for newbies -- or

Re: Problem building libtesseract3.02 with MS VC++ 2008

2012-08-23 Thread zdenko podobny
On Thu, Aug 23, 2012 at 6:20 PM, Davor Pleskina wrote: > > > On Thursday, August 23, 2012 5:06:52 PM UTC+2, Nick White wrote: >> >> On Thu, Aug 23, 2012 at 07:01:42AM -0700, Davor Pleskina wrote: >> > Now I understand what my coworker meant by "being optimistic about >> getting help >> > via forum

Re: Problem building libtesseract3.02 with MS VC++ 2008

2012-08-23 Thread Davor Pleskina
On Thursday, August 23, 2012 5:06:52 PM UTC+2, Nick White wrote: > > On Thu, Aug 23, 2012 at 07:01:42AM -0700, Davor Pleskina wrote: > > Now I understand what my coworker meant by "being optimistic about > getting help > > via forums". :-S > > I think the implication there is rather unfair -

Re: Problem building libtesseract3.02 with MS VC++ 2008

2012-08-23 Thread Nick White
On Thu, Aug 23, 2012 at 07:01:42AM -0700, Davor Pleskina wrote: > Now I understand what my coworker meant by "being optimistic about getting > help > via forums". :-S I think the implication there is rather unfair - you've had 2 different people step in to try and help you with your problem prett

Re: Problem building libtesseract3.02 with MS VC++ 2008

2012-08-23 Thread Davor Pleskina
On Thursday, August 23, 2012 3:22:04 PM UTC+2, TP wrote: > > On Wed, Aug 22, 2012 at 11:58 PM, Davor Pleskina > wrote: > > I still think the problem is template definition and not postion of > files > > (error is allheaders.h file - just one line; when commented out source > > builds but prob

Re: Problem building libtesseract3.02 with MS VC++ 2008

2012-08-23 Thread TP
On Wed, Aug 22, 2012 at 11:58 PM, Davor Pleskina wrote: > I still think the problem is template definition and not postion of files > (error is allheaders.h file - just one line; when commented out source > builds but probably leaves space for unexpected behavior...). You need to tell us which fi

Re: Problem building libtesseract3.02 with MS VC++ 2008

2012-08-23 Thread Davor Pleskina
Actually, maybe not *so* *dumb* - just to be sure I changed folder structure to "documented" and got much better error: 1>..\..\..\include\leptonica\allheaders.h(1199) : error C2955: 'std::allocator' : use of class template requires template argument list ... which now uses "correct" folder str

Re: Problem building libtesseract3.02 with MS VC++ 2008

2012-08-22 Thread zdenko podobny
On Wed, Aug 22, 2012 at 2:40 PM, Davor Pleskina wrote: > Hello, > > I am complete *dumb* in VC++ and it is normal I run into problems as soon > as I try to build something, but this one could be simple yet out of reach > for me. > > I got source from SVN trunk and leptonica from their site. Howeve

Problem building libtesseract3.02 with MS VC++ 2008

2012-08-22 Thread Davor Pleskina
Hello, I am complete *dumb* in VC++ and it is normal I run into problems as soon as I try to build something, but this one could be simple yet out of reach for me. I got source from SVN trunk and leptonica from their site. However, when I tell VC++ to build libtesseract302, I get this error: 1