Problem in using log4cpp

Help
Fahad
2007-05-08
2013-05-20
  • Fahad
    Fahad
    2007-05-08

    Is there any known issues in using log4cpp with mingw?

    I am using mingw compiler 5.0 on windows platform and using the Code:blocks IDE for coding.
    I put the log4cpp folder inside the include folder in my mingw/include folder.
    And in the c++ class, i included FileAppender.hh, Configurator.hh, BasicLayout.hh,
    but it gives of the following sort:

    C:\Mingw\include\log4cpp\NTEventLogAppender.hh  54 error: 'WORD' does not name a type
    and a lot more.

    I tried to make a static library of the log4cpp source files, but it gives the same error.

    Please advise. Is it not compatible?