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 - you've had 2 
> different people step in to try and help you with your problem 
> pretty quickly, each time offering constructive advice. 
>
> Anyway, best of luck solving your problem. I'm fortunate enough not 
> to have any dealings with any MSVC programs, so am unable to help. 
>
> Nick 
>

That was just a joke. However, both pointed me out to change the way to 
search for solution, so I finally find the right one (the answer I 
expected) here, so for archives:

http://tpgit.github.com/UnOfficialLeptDocs/vs2008/building-liblept.html

leptprotos.h has the wrong declaration for setPixMemoryManager() under 
Windows. Change it from:

LEPT_DLL extern void setPixMemoryManager ( void * ( allocator (size_t ) ), void 
 ( deallocator ( void * ) ) );

to:
LEPT_DLL extern void setPixMemoryManager (void *((*allocator)(size_t)), 
void ((*deallocator)(void *)) ); 

Thanks everyone!

-- 
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

Reply via email to