logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: Compilation issue for VisualStudio2003
Date Thu, 29 Nov 2007 18:17:14 GMT

On Nov 29, 2007, at 6:22 AM, Benjamin de Dardel wrote:

> Hi all,
>
> I'trying to compile log4cxx for VisualStudio 2003. I apply  
> instructions :
>
>   Microsoft Visual C++:
>   $> set CLASSPATH=path_to_cpptasks/cpptasks.jar;path_to_antcontrib/ 
> ant-contrib.jar
>   $> path_to_vc\bin\vcvars32
>   $> ant
>
> But I can't find any issue !!!
> - Does someone have an idea ?
> - Are there some win32 already compiled binaries ???
>
> Thanks,
> Benjamin
>
> ===============================================
> >echo %PATH%
> D:\ProgramFiles\CodeSynthesis XSD 3.0\bin\;D:\ProgramFiles 
> \MiKTeX2.6\miktex\bin;d:\program files\imagemagick-6.3.3-q16;c: 
> \Program Files\Perl\bin;C:\Program File
> s\CMake 2.4\bin;C:\Program Files\DVT\bin;C:\Program Files\Parasoft\C+ 
> +test\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C: 
> \Program Files\Fichiers
> communs\Compuware;C:\Program Files\ESTsoft\ALZip\;C:\Program Files 
> \Doxygen\bin;C:\Program Files\GTK\2.0\bin;C:\Program Files\Microsoft  
> Visual Studio .NET 2003\
> Common7\IDE;C:\Program Files\apache-ant-1.7.0\bin;C:\Program Files 
> \Perl\bin;C:\Program Files\libxml2\bin;C:\Program Files 
> \OpenJade-1.3\bin;C:\Program Files\Pyth
> on25;C:\Program Files\svn-win32-1.4.3\bin;C:\Program Files 
> \rcs-5.7\bin;
> D:\ProgramFiles\groovy-1.0\bin;C:\Program Files\Java\jdk1.6.0\bin;
> "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin";
>
> >cl
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077  
> for 80x86
> Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
>
> usage: cl [ option... ] filename... [ /link linkoption... ]
>
>
> > ant
> BUILD FAILED
> D:\Benjamin\Developpement\V2.7.11\medecom\dev\exe\log4cxx\apache- 
> log4cxx\build.xml:463: The following error occurred while executing  
> this line:
> D:\Benjamin\Developpement\V2.7.11\medecom\dev\exe\log4cxx\apache- 
> log4cxx\src\apr\ant\build.xml:173: Could not launch cl:  
> java.io.IOException: Cannot run program
> "cl" (in directory "D:\Benjamin\Developpement\V2.7.11\medecom\dev\exe 
> \log4cxx\apache-log4cxx\target\debug\static\apr_obj"):
> CreateProcess error=2, Le fichier spÚcifiÚ est introuvable (can not 	
> find file)
>

I haven't seen that before.  Any chance that the Parasoft or CompuWare  
entries in your path are intercepting the "cl" command with a batch  
file or similar.  Could you try with a stripped down path: just Java,  
Ant, and VS.NET.  If things work, you'd eventually run into an  
CreateProcess error in the unit tests (as sed, gzip and zip are  
required to run the unit tests, I usually place Cygwin at the end of  
the path to get them, needs to be after VS.NET since they both contain  
a "link" executable).


Mime
View raw message