Please work with the CVS HEAD, log4cxx-0.9.7 is extremely out of date and has serious bugs. I can't promise you that the CVS HEAD will build out of the box on Cygwin, but at least we can do something about it.

FYI: The automake build is not the primary build mechanism for log4cxx. One of the other developers is working on getting it up to date, but most builds are done with Ant + cpptasks which supports non gcc like compilers and can generate IDE project files. However, the automake build is probably close enough to Cygwin and the oddity of the Cygwin environment might trip up Ant+cpptasks,

You may need to manually tweak include/log4cxx/log4cxx.h to set LOG4CXX_HAS_WCHAR_T to 0 as I believe that Cygwin's gcc does not support the wchar_t (or may not have wcstombs or mbstowcs).


On May 11, 2005, at 6:49 PM, Raymond Lau wrote:

When I tried to build log4cxx by just issuing a “make” command after running configure,



I got the following compilation error:



../include/log4cxx/helpers/tchar.h:51: error: ‘swprintf’ undeclared (first use this function)



Does that has to do with g++ and the std library?







Reply via email to