Thank you, that was very useful

On Jan 3, 10:49 pm, SURAJ <[email protected]> wrote:
> Hello all,
>
> I have tried to compile tessaract 3.0 inVisualStudio2010. Good news
> is its compiled but need small 2/3 changes in code due to new C++
> specifications followed in VS2010for Templates.
>
> I am using XP SP3 and VS2010Team edition.
>
> My Observations are
> 1. Due to change in Template spec, you canot pass NULL in tamplates
> call. To overcome this problem you need to typecase NULL.
>
> Fortunetly all changes are in on file only. scrollview.cpp in Viewer
> Project. Path ..\tesseract\viewer
>
> Line 140 :
>
> Original : std::pair<ScrollView*, SVEventType> awaiting_list_any_window
> (NULL,
>
> SVET_ANY);
> New : std::pair<ScrollView*, SVEventType> awaiting_list_any_window
> ((ScrollView*)NULL,
>
> SVET_ANY);
>
> Original : waiting_for_events[ea] = std::pair<SVSemaphore*, SVEvent*>
> (sem,NULL);
> New: waiting_for_events[ea] = std::pair<SVSemaphore*, SVEvent*> (sem,
> ( SVEvent*)NULL);
>
> Line 430 :
> Original : std::pair<ScrollView*, SVEventType> ea(NULL, SVET_ANY);
> New: std::pair<ScrollView*, SVEventType> ea((ScrollView* )NULL,
> SVET_ANY);
>
> Line 433 :
> Original :  waiting_for_events[ea] = std::pair<SVSemaphore*, SVEvent*>
> (sem,NULL);
> New:  waiting_for_events[ea] = std::pair<SVSemaphore*, SVEvent*> (sem,
> (SVEvent*)NULL);
>
> I hope this information is useful for developers who wants to 
> useVisualstudio2010
>
> SURAJ
-- 
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