Description
trying to build the log4cxx with (static library) MicrosoftVisual C++ 6.0 using
\log4cxx-0.9.7\msvclog4cxx.dsw
leads to
-----------------------------------------------------
Performing Custom Build Step on ..\..\include\log4cxx\nt\EventLogCategories.mc
MC: Compiling ..\..\include\log4cxx\nt\EventLogCategories.mc
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
LINK : fatal error LNK1181: cannot open input file "log4xxx\cpp\log4cxx-0.9.7\msvc\Lib\Unicode_R\NTEventLogAppender.dll"
Error executing c:\winnt\system32\cmd.exe.
log4cxxs.lib - 1 error(s), 0 warning(s)
--------------------------------------------------------
This happens only if in the path where the log4cxx is extracted has space ' ' fo example
"C:\Downloads\software\Logger\Apache log4xxx\cpp\log4cxx-0.9.7\msvc"
if you cut the space from "\Apache log4xxx" for example :
"C:\Downloads\software\Logger\Apachelog4xxx\cpp\log4cxx-0.9.7\msvc " you can build the project successfully
The problem occures also and for \log4cxx-0.9.7\msvc\dll\dll.dsp
I guess the problesm is in the .dsp files because the path are not quted. I have tested it only with MsDev 6.0 but it is possible to occure also and with .Net.