On Wed, Aug 22, 2012 at 2:40 PM, Davor Pleskina <[email protected]>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. However, when I
> tell VC++ to build libtesseract302, I get this error:
>
> 1>C:\tesseract\vs2008\libtesseract\include\leptonica\allheaders.h(1199) :
> error C2955: 'std::allocator' : use of class template requires template
> argument list
>
> I can imagine it does not like something about template in file
> 1>        C:\Program Files\Microsoft Visual Studio
> 9.0\VC\include\xmemory(90) : see declaration of 'std::allocator'
>
> but have no idea what.
>
> Can anyone quick-help me to get through this build and concentrate on
> things I need this build for?
>
> Notice: all other source files compile without problem.
>
> Thanks in advance!
> Davor
>

If you are "complete *dumb* in VC++" ;-) than you should follow
documentation [1] strictly (ok some links are not valid yet because 3.02
was not released yet).
>From provided information I can see you did not follow proposed directory
structure, so I guess you also modified VC++ solution files and maybe other
files...

[1]
http://tesseract-ocr.googlecode.com/svn-history/r683/trunk/vs2008/doc/index.html


-- 
Zdenko

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