Closed GoogleCodeExporter closed 9 years ago
Visual C++ 2005 is not supported in new version of tesseract-ocr (see
http://code.google.com/p/tesseract-ocr/#Supported_Platforms, or
http://code.google.com/p/tesseract-ocr/wiki/ReadMe#Windows regarding older
versions).
Original comment by zde...@gmail.com
on 29 Nov 2010 at 1:56
d:\program files\microsoft visual studio 8\vc\include\math.h(402) : error
C2062: type 'float' unexpected
Original comment by vibhutik...@gmail.com
on 15 Jan 2011 at 3:54
First of all: this issue has lack of basic information: what version/revision
of tesseract you tried to compile, what version of windows you use...
Next: I use Microsoft Visual C++ 2008 Express Edition and the math.h is located
in "c:\Program Files\Microsoft Visual Studio 9.0\VC\include\math.h". So it
looks like you used unsupported compiler.
Original comment by zde...@gmail.com
on 15 Jan 2011 at 7:58
Although VS2005 is not supported. Anyone searching a solution can fix it by
changing the '1400' in "environ.h" to 1200 (with is actually VC++6) :
/* VC++6 doesn't seem to have powf, expf. */
#if (_MSC_VER <= 1400)
...
#endif
Original comment by mark.ple...@gmail.com
on 29 Sep 2011 at 9:02
Original issue reported on code.google.com by
jcai2...@gmail.com
on 29 Nov 2010 at 10:23