none
The command mc:VCEnd exited with code 1 (Microsoft.CppCommon.targets) RRS feed

  • Question

  • When I try to compile the log4cpp file, it gives the error like,

    Error :

    MSB3073

    log4cpp_x86 The command "mc :VCEnd" exited with code 1.

    D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets

      I tried with changing the location of my project from D to C drive, but it still persists, I aslo unmarked the project folder as readOnly.. but still problem remains unsolved. please help.              




    Friday, September 13, 2019 4:46 AM

All replies

  • Hi CHiragPathak,

    Welcome to MSDN forum.

    As far as I know, this file locates at VS installation path by default. Could you please post your the whole compile output related to this error in output window? 

    Look forward to your reply.

    Best Regards,

    Dylan


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Friday, September 13, 2019 10:43 AM

  • 1> Outputs for C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\ABORTAPPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\APPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\APPENDERSFACTORY.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\APPENDERSKELETON.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\BASICCONFIGURATOR.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\BASICLAYOUT.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\BUFFERINGAPPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\CATEGORY.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\CATEGORYSTREAM.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\CONFIGURATOR.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\DAILYROLLINGFILEAPPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\DLLMAIN.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\DUMMYTHREADS.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\FACTORYPARAMS.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\FILEAPPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\FILTER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\FIXEDCONTEXTCATEGORY.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\HIERARCHYMAINTAINER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\IDSAAPPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\LAYOUTAPPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\LAYOUTSFACTORY.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\LEVELEVALUATOR.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\LOCALTIME.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\LOGGINGEVENT.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\MANIPULATOR.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\MSTHREADS.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\NDC.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\NTEVENTLOGAPPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\OMNITHREADS.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\OSTREAMAPPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\PASSTHROUGHLAYOUT.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\PATTERNLAYOUT.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\PORTABILITYIMPL.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\PRIORITY.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\PROPERTIES.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\PROPERTYCONFIGURATOR.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\PROPERTYCONFIGURATORIMPL.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\PTHREADS.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\REMOTESYSLOGAPPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\ROLLINGFILEAPPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\SIMPLECONFIGURATOR.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\SIMPLELAYOUT.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\SMTPAPPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\SNPRINTF.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\STRINGQUEUEAPPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\STRINGUTIL.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\SYSLOGAPPENDER.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\TIMESTAMP.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\TRIGGERINGEVENTEVALUATORFACTORY.OBJ|C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\DEBUG WITH BOOST\WIN32DEBUGAPPENDER.OBJ:
    1>    C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\DEBUG WITH BOOST\LOG4CPP_X86.ILK
    1>    C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\DEBUG WITH BOOST\LOG4CPP_X86.DLL
    1>    C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\DEBUG WITH BOOST\LOG4CPP_X86.PDB
    1>    All outputs are up-to-date.
    1>    Output Property: LinkSkippedExecution=True
    1>  Done executing task "Link".
    1>  Task "Message"
    1>    Task Parameter:Text=log4cpp_x86.vcxproj -> C:\Users\Chirag Pathak\3D Objects\bizbrain-agent-v7\Debug with Boost\log4cpp_x86.dll
    1>    Task Parameter:Importance=High
    1>    log4cpp_x86.vcxproj -> C:\Users\Chirag Pathak\3D Objects\bizbrain-agent-v7\Debug with Boost\log4cpp_x86.dll
    1>  Done executing task "Message".
    1>  Task "VCMessage" skipped, due to false condition; (('$(EmbedManifestBy)' != 'LINK' or '$(LegacyManifestEmbedding)' != 'true' or '$(LinkSkippedExecution)' == 'true') and
    1>               %(Link.GenerateDebugInformation) == 'DebugFastLink' and %(Link.ProgramDataBaseFileName) != '') was evaluated as (('LINK' != 'LINK' or '' != 'true' or 'True' == 'true') and
    1>               true == 'DebugFastLink' and  != '').
    1>  Task "VCMessage" skipped, due to false condition; (('$(EmbedManifestBy)' != 'LINK' or '$(LegacyManifestEmbedding)' != 'true' or '$(LinkSkippedExecution)' == 'true') and
    1>               %(Link.GenerateDebugInformation) == 'true' and %(Link.ProgramDataBaseFileName) != '') was evaluated as (('LINK' != 'LINK' or '' != 'true' or 'True' == 'true') and
    1>               true == 'true' and  != '').
    1>Done building target "Link" in project "log4cpp_x86.vcxproj".
    1>Target "MetaGenInputsOutputs" skipped, due to false condition; ('$(EnableManagedIncrementalBuild)' == 'True') was evaluated as ('false' == 'True').
    1>Target "ComputeMetaGenInputs" skipped, due to false condition; ('$(CLRSupport)'!='' and '$(CLRSupport)'!='false') was evaluated as ('false'!='' and 'false'!='false').
    1>Target "MetaGen" skipped, due to false condition; ('@(MetaGen)' != '') was evaluated as ('' != '').
    1>Target "ComputeLinkImportLibraryOutputsForClean" skipped, due to false condition; ('$(LinkSkippedExecution)' != 'true') was evaluated as ('True' != 'true').
    1>Target "AfterLink" in file "D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets":
    1>Done building target "AfterLink" in project "log4cpp_x86.vcxproj".
    1>Target "_Link" in file "D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets":
    1>Done building target "_Link" in project "log4cpp_x86.vcxproj".
    1>Target "_ALink" in file "D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets":
    1>Done building target "_ALink" in project "log4cpp_x86.vcxproj".
    1>Target "ComputeLegacyManifestEmbedding" skipped. Previously built successfully.
    1>Target "_Manifest" in file "D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets":
    1>  Task "CallTarget" skipped, due to false condition; ('$(LegacyManifestEmbedding)' == 'true') was evaluated as ('' == 'true').
    1>Done building target "_Manifest" in project "log4cpp_x86.vcxproj".
    1>Target "RegisterOutput" skipped, due to false condition; ('$(LinkSkippedExecution)' != 'true' and (('$(Platform)' == 'x64' and ('$(PROCESSOR_ARCHITECTURE)' == 'AMD64' or '$(PROCESSOR_ARCHITEW6432)' == 'AMD64')) or '$(Platform)' == 'Win32')) was evaluated as ('True' != 'true' and (('Win32' == 'x64' and ('x86' == 'AMD64' or 'AMD64' == 'AMD64')) or 'Win32' == 'Win32')).
    1>Target "PrepareForBuild" skipped. Previously built successfully.
    1>Target "ResolveReferences" skipped. Previously built successfully.
    1>Target "ResolvedXDCMake" in file "D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets":
    1>  Task "MSBuild" skipped, due to false condition; ('%(_MSBuildProjectReferenceExistent.Extension)' == '.vcxproj' and '@(ProjectReferenceWithConfiguration)' != '' and '@(_MSBuildProjectReferenceExistent)' != '' and '$(_ClCompileGenerateXMLDocumentationFiles)' == 'true') was evaluated as ('' == '.vcxproj' and '' != '' and '' != '' and '' == 'true').
    1>Done building target "ResolvedXDCMake" in project "log4cpp_x86.vcxproj".
    1>Target "ComputeCLCompileGeneratedXDCFiles" in file "D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets":
    1>  Added Item(s): 
    1>      XdcMake=
    1>          temp
    1>                  AcceptableNonZeroExitCodes=
    1>                  DocumentLibraryDependencies=true
    1>                  Local=true
    1>                  MinimalRebuildFromTracking=true
    1>                  OutputFile=C:\Users\Chirag Pathak\3D Objects\bizbrain-agent-v7\Debug with Boost\log4cpp_x86.xml
    1>                  SuppressStartupBanner=true
    1>                  TrackerLogDirectory=Debug with Boost\log4cpp_x86.tlog\
    1>  Set Property: XdcMakeDocumentLibraryDependencies=true
    1>  Set Property: XdcMakeAdditionalDocumentFile=
    1>  Removed Item(s): 
    1>      XdcMake=
    1>          temp
    1>                  AcceptableNonZeroExitCodes=
    1>                  DocumentLibraryDependencies=true
    1>                  Local=true
    1>                  MinimalRebuildFromTracking=true
    1>                  OutputFile=C:\Users\Chirag Pathak\3D Objects\bizbrain-agent-v7\Debug with Boost\log4cpp_x86.xml
    1>                  SuppressStartupBanner=true
    1>                  TrackerLogDirectory=Debug with Boost\log4cpp_x86.tlog\
    1>Done building target "ComputeCLCompileGeneratedXDCFiles" in project "log4cpp_x86.vcxproj".
    1>Target "MakeDirsForXdcMake" in file "D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets":
    1>  Task "MakeDir"
    1>  Done executing task "MakeDir".
    1>Done building target "MakeDirsForXdcMake" in project "log4cpp_x86.vcxproj".
    1>Target "XdcMake" skipped, due to false condition; ('@(XdcMake)' != '') was evaluated as ('' != '').
    1>Target "_XdcMake" in file "D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets":
    1>Done building target "_XdcMake" in project "log4cpp_x86.vcxproj".
    1>Target "ComputeCLCompileGeneratedSbrFiles" in file "D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets":
    1>Done building target "ComputeCLCompileGeneratedSbrFiles" in project "log4cpp_x86.vcxproj".
    1>Target "MakeDirsForBscMake" in file "D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets":
    1>  Task "MakeDir"
    1>  Done executing task "MakeDir".
    1>Done building target "MakeDirsForBscMake" in project "log4cpp_x86.vcxproj".
    1>Target "BscMake" skipped, due to false condition; ('@(BscMake)' != '') was evaluated as ('' != '').
    1>Target "ComputeCustomBuildOutput" skipped. Previously built successfully.
    1>Target "CustomBuildStep" in file "D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets":
    1>  Building target "CustomBuildStep" completely.
    1>  Output file ".rc" does not exist.
    1>  Task "Message"
    1>    Task Parameter:Text=Performing Custom Build Step
    1>    Task Parameter:Importance=High
    1>    Performing Custom Build Step
    1>  Done executing task "Message".
    1>  Task "WriteLinesToFile"
    1>    Task Parameter:File=Debug with Boost\log4cpp_x86.tlog\CustomBuildStep.read.1u.tlog
    1>    Task Parameter:Encoding=Unicode
    1>    Task Parameter:Overwrite=True
    1>  Done executing task "WriteLinesToFile".
    1>  Task "WriteLinesToFile"
    1>    Task Parameter:File=Debug with Boost\log4cpp_x86.tlog\CustomBuildStep.write.1u.tlog
    1>    Task Parameter:
    1>        Lines=
    1>            C:\USERS\CHIRAG PATHAK\3D OBJECTS\BIZBRAIN-AGENT-V7\CPPLOGGING\LOG4CPP_X86\MSVC10\LOG4CPP\.RC
    1>                    Command=mc 
    1>                    Message=Performing Custom Build Step
    1>                    Outputs=.rc
    1>    Task Parameter:Encoding=Unicode
    1>    Task Parameter:Overwrite=True
    1>  Done executing task "WriteLinesToFile".
    1>  Using "Exec" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    1>  Task "Exec"
    1>    Task Parameter:Command=mc :VCEnd
    1>    mc :VCEnd
    1>    mc : error : 0x2 trying to open file <:VCEnd>.
    1>    D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(258,5): error MSB3073: The command "mc :VCEnd" exited with code 1.
    1>  Done executing task "Exec" -- FAILED.
    1>Done building target "CustomBuildStep" in project "log4cpp_x86.vcxproj" -- FAILED.
    1>
    1>Done building project "log4cpp_x86.vcxproj" -- FAILED.
    1>
    1>Project Performance Summary:
    1>      813 ms  C:\Users\Chirag Pathak\3D Objects\bizbrain-agent-v7\CppLogging\log4cpp_x86\msvc10\log4cpp\log4cpp_x86.vcxproj   1 calls
    1>
    1>Target Performance Summary:
    1>        0 ms  _BuildGenerateSourcesAction                1 calls
    1>        0 ms  AfterBuildCompileEvent                     1 calls
    1>        0 ms  _ResourceCompile                           1 calls
    1>        0 ms  AfterResourceCompile                       1 calls
    1>        0 ms  MakeDirsForResourceCompile                 1 calls
    1>        0 ms  BeforeResourceCompile                      1 calls
    1>        0 ms  _ClCompile                                 1 calls
    1>        0 ms  AfterClCompile                             1 calls
    1>        0 ms  MakeDirsForXdcMake                         1 calls
    1>        0 ms  SelectClCompile                            1 calls
    1>        0 ms  FixupCLCompileOptions                      1 calls
    1>        0 ms  _XdcMake                                   1 calls
    1>        0 ms  MakeDirsForBscMake                         1 calls
    1>        0 ms  ComputeCLInputPDBName                      1 calls
    1>        0 ms  BeforeClCompile                            1 calls
    1>        0 ms  BuildCompileTraverse                       1 calls
    1>        0 ms  _BuildCompileAction                        1 calls
    1>        0 ms  BuildCompile                               1 calls
    1>        0 ms  BuildLinkTraverse                          1 calls
    1>        0 ms  ComputeLegacyManifestEmbedding             1 calls
    1>        0 ms  _ALink                                     1 calls
    1>        0 ms  ComputeLinkSwitches                        1 calls
    1>        0 ms  PreLinkEvent                               1 calls
    1>        0 ms  DoLinkOutputFilesMatch                     1 calls
    1>        0 ms  MakeDirsForLink                            1 calls
    1>        0 ms  PrepareResourceNames                       1 calls
    1>        0 ms  CreateCustomManifestResourceNames          1 calls
    1>        0 ms  BuildGenerateSources                       1 calls
    1>        0 ms  SplitResourcesByCulture                    1 calls
    1>        0 ms  ComputeLinkInputsFromProject               1 calls
    1>        0 ms  _Manifest                                  1 calls
    1>        0 ms  ResolvedXDCMake                            1 calls
    1>        0 ms  ComputeManifestGeneratedLinkerInputs       1 calls
    1>        0 ms  ComputeRCGeneratedLinkInputs               1 calls
    1>        0 ms  ComputeRCOutputs                           1 calls
    1>        0 ms  ComputeCLCompileGeneratedXDCFiles          1 calls
    1>        0 ms  ComputeManifestInputsTargets               1 calls
    1>        0 ms  AfterLink                                  1 calls
    1>        0 ms  _Link                                      1 calls
    1>        0 ms  AfterBuildGenerateSources                  1 calls
    1>        0 ms  ResolveSDKReferences                       1 calls
    1>        0 ms  PrepareForBuild                            1 calls
    1>        0 ms  SetCABuildNativeEnvironmentVariables       1 calls
    1>        0 ms  _CheckWindowsSDKInstalled                  1 calls
    1>        0 ms  GetResolvedWinMD                           1 calls
    1>        0 ms  GetReferenceAssemblyPaths                  1 calls
    1>        0 ms  GetFrameworkPaths                          1 calls
    1>        0 ms  ResolveProjectReferences                   1 calls
    1>        0 ms  PrepareProjectReferences                   1 calls
    1>        0 ms  _GetProjectReferenceTargetFrameworkProperties   1 calls
    1>        0 ms  _SplitProjectReferencesByFileExistence     1 calls
    1>        0 ms  AssignProjectConfiguration                 1 calls
    1>        0 ms  BeforeResolveReferences                    1 calls
    1>        0 ms  _PrepareForReferenceResolution             1 calls
    1>        0 ms  _PrepareForBuild                           1 calls
    1>        0 ms  AfterBuildGenerateSourcesEvent             1 calls
    1>        0 ms  ResolveAssemblyReferences                  1 calls
    1>        0 ms  ExpandSDKReferences                        1 calls
    1>        0 ms  SelectCustomBuild                          1 calls
    1>        0 ms  MakeDirsForMidl                            1 calls
    1>        0 ms  _Xsd                                       1 calls
    1>        0 ms  _Midl                                      1 calls
    1>        0 ms  CustomBuild                                1 calls
    1>        0 ms  AfterResolveReferences                     1 calls
    1>        0 ms  ComputeCustomBuildOutput                   1 calls
    1>        0 ms  ComputeMIDLGeneratedCompileInputs          1 calls
    1>        0 ms  AfterMidl                                  1 calls
    1>        0 ms  _SelectedFiles                             1 calls
    1>        0 ms  PreBuildEvent                              1 calls
    1>        0 ms  BeforeBuildGenerateSources                 1 calls
    1>        0 ms  BuildGenerateSourcesTraverse               1 calls
    1>        0 ms  ComputeCLCompileGeneratedSbrFiles          1 calls
    1>        0 ms  ResolveReferences                          1 calls
    1>        1 ms  AssignTargetPaths                          1 calls
    1>        1 ms  SetTelemetryEnvironmentVariables           1 calls
    1>        1 ms  _HandlePackageFileConflicts                1 calls
    1>        1 ms  MakeDirsForCl                              1 calls
    1>        1 ms  CopyFileToFolders                          1 calls
    1>        1 ms  SetBuildDefaultEnvironmentVariables        1 calls
    1>        1 ms  ComputeReferenceCLInput                    1 calls
    1>        9 ms  _CheckForInvalidConfigurationAndPlatform   1 calls
    1>       10 ms  BeforeLink                                 1 calls
    1>       21 ms  ComputeCLGeneratedLinkInputs               1 calls
    1>       35 ms  WarnCompileDuplicatedFilename              1 calls
    1>       53 ms  InitializeBuildStatus                      1 calls
    1>       64 ms  ComputeCLOutputs                           1 calls
    1>       81 ms  Link                                       1 calls
    1>      236 ms  CustomBuildStep                            1 calls
    1>      250 ms  ClCompile                                  1 calls
    1>
    1>Task Performance Summary:
    1>        0 ms  AssignProjectConfiguration                 1 calls
    1>        0 ms  MSBuild                                    1 calls
    1>        0 ms  MakeDir                                    9 calls
    1>        0 ms  CheckVCToolsetVersion                      1 calls
    1>        0 ms  Touch                                      1 calls
    1>        0 ms  AssignCulture                              1 calls
    1>        1 ms  AssignTargetPath                           4 calls
    1>        1 ms  ResolvePackageFileConflicts                1 calls
    1>        1 ms  GetOutOfDateItems                          3 calls
    1>        2 ms  SetEnv                                     8 calls
    1>        3 ms  ReadLinesFromFile                          1 calls
    1>       10 ms  Message                                    4 calls
    1>       55 ms  WriteLinesToFile                           3 calls
    1>       73 ms  Link                                       1 calls
    1>      188 ms  CL                                         2 calls
    1>      230 ms  Exec                                       1 calls
    1>
    1>Build FAILED.
    1>
    1>mc : error : 0x2 trying to open file <:VCEnd>.
    1>D:\VS 2019\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(258,5): error MSB3073: The command "mc :VCEnd" exited with code 1.
    1>    0 Warning(s)
    1>    2 Error(s)

    Friday, September 13, 2019 11:35 AM
  • Hi ChiragPathak,

    Sorry for delay in reply.

    From your log, please download the latest version in: http://log4cpp.sourceforge.net/, then try to switch the "Debug" mode to debug this project.

    If you still meet this issue, you could follow this blog, and try to troubleshot it. BTW, I could build log4cpp project with this blog on my side successfully.

    Any feedback will be expected.

    Best Regards,

    Dylan 


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, September 16, 2019 7:24 AM
  • Hi ChiragPathak,

    Did you try Dylan's suggestion to handle your issue?

    It seems that your your proj file or msbuild tool have trouble. Please follow these steps to have a try:

     1. open the VS installer and reinstall the msbuild in the individual component

     2. if your proj file has broken, please create another project and refer to the new proj file to modify your damaged proj file and remember the rebuild project

    If you have problems with step two, please share your old proj file with us and we will give you good support.

    Any feedback will be expected.

    Best Regards,

    Perry


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Wednesday, September 18, 2019 9:54 AM