Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Compilation issue for VisualStudio2003: msg#00068

apache.logging.log4cxx.user

Subject: Re: Compilation issue for VisualStudio2003


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).




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation