Hello, In order to reuse a project developped under Linux, I am trying to create a Cygwin port. Everything is more or less fine except concerning the usage of APR made by UIMA C++ framework.
I get lots of compilation errors, such as: In file included from /cygdrive/c/Users/Sylvain/apache-uima/uimacpp/include/uima/unistrref.hpp:41:0, ... /cygdrive/c/Users/Sylvain/apache-uima/uimacpp/include/uima/types.h:99:10: erreur: ‘apr_byte_t’ does not name a type /cygdrive/c/Users/Sylvain/apache-uima/uimacpp/include/uima/types.h:100:10: erreur: ‘apr_uint16_t’ does not name a type /cygdrive/c/Users/Sylvain/apache-uima/uimacpp/include/uima/types.h:101:10: erreur: ‘apr_uint32_t’ does not name a type /cygdrive/c/Users/Sylvain/apache-uima/uimacpp/include/uima/types.h:102:10: erreur: ‘apr_uint64_t’ does not name a type /cygdrive/c/Users/Sylvain/apache-uima/uimacpp/include/uima/types.h:103:10: erreur: ‘apr_int32_t’ does not name a type /cygdrive/c/Users/Sylvain/apache-uima/uimacpp/include/uima/types.h:104:10: erreur: ‘apr_int64_t’ does not name a type In my makefile I am trying to user the libapr* coming already bundled with the latest version of cygwin. I suspect that I should define some symbols to give to g++ compiler, but I can't figure out what they are exactly. I tried -DWIN32 and -D_WINDOWS_ without result. And I cannot find anything on the internet telling how to compile a program using APR under cygwin. Can you Apache guys tell me something about it? Thanks for your help, Sylvain -- Sylvain SURCIN, Ph.D. *KWAGA* Senior Software Architect 15, rue Jean-Baptiste Berlier 75013 Paris France Tél.: +33 (0)1.55.43.79.20
