Log4cxx
  1. Log4cxx
  2. LOGCXX-53

Problems compiling with MsDev 6.0 (space in paths)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.7
    • Fix Version/s: 0.10.0
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Windows 2000

      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.

        Activity

        Ivo Gaydajiev created issue -
        Ivo Gaydajiev made changes -
        Field Original Value New Value
        Summary Problems compileing with MsDev 6.0 Problems compiling with MsDev 6.0 (space in paths)
        Curt Arnold made changes -
        Fix Version/s 0.9.8 [ 10782 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Michaël CATANZARITI
            Reporter:
            Ivo Gaydajiev
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development