logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michaƫl CATANZARITI <mca...@free.fr>
Subject Re: VC++ .NET Compile Problems
Date Sat, 08 May 2004 11:12:37 GMT
Hello Kris,

Please check out the latest sources from CVS.

Michael

Kris wrote:

>Hi All,
>
>I am trying to compile log4cxx-0.9.6 as a dll using VC++ .NET but I am
>receiving a ton of compile errors. I'm resonably certain that I followed the
>instructions provided in the INSTALL and README files. The steps that I
>followed and the errors that I received are shown below. If anyone can
>provide any assistance, it would be greatly appreciated. Not sure if this
>will provide any insight or not, but many of the error messages that I
>received were duplicated a number of times (sometimes up to 10 or 15) for
>the same line. I cut out the duplicate lines for berevity.
>
>Steps Followed
>============
>(1) Copied msvc/config.h.msvc to include/log4cxx/config.h
>(2) Opened msvc/dll/dll.dsp
>(3) Compiled
>
>
>The Errors
>========
>log4cxx-0.9.6\include\log4cxx\helpers\strictmath.h(35): error C2059: syntax
>error : ')'
>log4cxx-0.9.6\src\boundedfifo.cpp(87): error C2059: syntax error : '::'
>log4cxx-0.9.6\src\boundedfifo.cpp(91): error C2059: syntax error : '::'
>log4cxx-0.9.6\src\boundedfifo.cpp(102): error C2059: syntax error : '::'
>log4cxx-0.9.6\include\log4cxx\helpers\strictmath.h(38): error C2059: syntax
>error : '}'
>log4cxx-0.9.6\include\log4cxx\helpers\tchar.h(59): error C2065: 'buff' :
>undeclared identifier
>log4cxx-0.9.6\include\log4cxx\helpers\strictmath.h(35): error C2143: syntax
>error : missing ')' before '}'
>log4cxx-0.9.6\include\log4cxx\helpers\strictmath.h(36): error C2143: syntax
>error : missing ';' before '}'
>log4cxx-0.9.6\include\log4cxx\helpers\strictmath.h(38): error C2143: syntax
>error : missing ';' before '}'
>C:\Program Files\Microsoft Visual Studio .NET
>2003\Vc7\include\malloc.h(109): error C2143: syntax error : missing ';'
>before 'identifier'
>log4cxx-0.9.6\include\log4cxx\helpers\strictmath.h(35): error C2143: syntax
>error : missing '}' before ')'
>log4cxx-0.9.6\include\log4cxx\helpers\strictmath.h(26): error C2226: syntax
>error : unexpected type '_type'
>log4cxx-0.9.6\include\log4cxx\helpers\strictmath.h(35): error C2238:
>unexpected token(s) preceding ';'
>log4cxx-0.9.6\include\log4cxx\helpers\strictmath.h(26): error C2334:
>unexpected token(s) preceding ':'; skipping apparent function body
>log4cxx-0.9.6\src\boundedfifo.cpp(87): error C2589: '(' : illegal token on
>right side of '::'
>log4cxx-0.9.6\src\boundedfifo.cpp(91): error C2589: '(' : illegal token on
>right side of '::'
>log4cxx-0.9.6\src\boundedfifo.cpp(102): error C2589: '(' : illegal token on
>right side of '::'
>log4cxx-0.9.6\include\log4cxx\helpers\strictmath.h(35): error C2988:
>unrecognizable template declaration/definition
>log4cxx-0.9.6\include\log4cxx\helpers\strictmath.h(38): error C2988:
>unrecognizable template declaration/definition
>log4cxx-0.9.6\include\log4cxx\helpers\tchar.h(63): error C3861: 'buff':
>identifier not found, even with argument-dependent lookup
>dll error PRJ0019: A tool returned an error code from "Compiling EventLog
>message file"
>C:\Program Files\Microsoft Visual Studio .NET
>2003\Vc7\include\malloc.h(109): fatal error C1075: end of file found before
>the left brace '{' at 'C:\Program Files\Microsoft Visual Studio .NET
>2003\Vc7\include\malloc.h(36)' was matched
>dll fatal error LNK1181: cannot open input file 'and.obj'
>C:\Program Files\Microsoft Visual Studio .NET
>2003\Vc7\include\malloc.h(109): warning C4091: 'typedef ' : ignored on left
>of '_heapinfo' when no variable is declared
>log4cxx-0.9.6\include\log4cxx\helpers\tchar.h(63): warning C4552: '<<' :
>operator has no effect; expected operator with side-effect
>
>
>  
>


Mime
View raw message