I've installed iulib on my Windows system but did not run into these
problems.  I am by no means an expert on OCRopus or open source
software, but one line that doesn't look right is the following
excerpt from your log:

> ./colib/compat.h:47:1: warning: "NAN" redefined
> In file included from ./colib/narray-ops.h:33,
>                  from ./colib/colib.h:44,
>                  from ./imgio/autoinvert.cc:27:
> C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/math.h:
> 296:1: warning: this is the location of the previous definition
> In file included from ./colib/narray-util.h:39,
>                  from ./colib/colib.h:45,
>                  from ./imgio/autoinvert.cc:27:

Note that there appears to be a conflict between an iulib include file
and a MinGW file.  I did NOT use MinGW when I compiled on my Vista
system.  MinGW attempts to provide native Windows library functions to
GNU compiled programs.  This is not what you want - the OCRopus code
is Linux-based and is not compatible with Windows libraries.  You want
to install cygwin (I'd install just about everything from cygwin),
then compile within that environment.  This will link against a set of
libraries that simulate a Unix/Linux environment on a Windows
platform.  No MinGW libraries should be involved, and so the errors
you are getting should not occur.

I have tried to compile iulib using a full Windows environment and
libraries (Visual Studio 2005) but there are a lot of references to
Unix/Linux-only functions, and it would take significant work to port
to code that would compile under MinGW or Visual Studio.

Good luck!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ocropus" 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/ocropus?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to