Compilation error
quentinhardy opened this issue · 0 comments
quentinhardy commented
Hello,
I would like to compile your project in Visual Studio Professional 2013.
When I build the project, I have these followings errors:
Error 30 error MSB6006: "CL.exe" exited with code -1073741515. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.targets 57 5 ProcComs
Error 31 error MSB6006: "CL.exe" exited with code -1073741515. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.targets 147 5 RemComSvc
Error 34 error MSB6006: "CL.exe" exited with code -1073741515. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.targets 147 5 RemCom
Here are Warnings:
Message 28 Could not find schema information for the attribute 'Condition'. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.targets 262 32 Miscellaneous Files
Message 29 Could not find schema information for the attribute 'Condition'. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.targets 386 32 Miscellaneous Files
Here is log output:
------ Build started: Project: ProcComs, Configuration: Debug Win32 ------
Build started 05/05/2015 14:53:33.
Building with tools version "12.0".
[...]
Target "ComputeMIDLGeneratedCompileInputs" skipped. Previously built successfully.
Target "ComputeCLInputPDBName" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets" from project "C:\Users\bob\Tools\RemCom-master\RemCom-master\RemCom.vcxproj" (target "_ClCompile" depends on it):
Done building target "ComputeCLInputPDBName" in project "RemCom.vcxproj".
Target "ResolveReferences" skipped. Previously built successfully.
Target "ComputeReferenceCLInput" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets" from project "C:\Users\bob\Tools\RemCom-master\RemCom-master\RemCom.vcxproj" (target "_ClCompile" depends on it):
Task "WriteLinesToFile"
Done executing task "WriteLinesToFile".
Task "Message" skipped, due to false condition; ('$(_REFERENCE_DEBUG)'=='true' and '%(ClCompile.CompileAsManaged)' != 'false' and '%(ClCompile.CompileAsManaged)' != '') was evaluated as (''=='true' and '' != 'false' and '' != '').
Done building target "ComputeReferenceCLInput" in project "RemCom.vcxproj".
Target "MakeDirsForCl" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets" from project "C:\Users\bob\Tools\RemCom-master\RemCom-master\RemCom.vcxproj" (target "_ClCompile" depends on it):
Task "MakeDir"
Done executing task "MakeDir".
Done building target "MakeDirsForCl" in project "RemCom.vcxproj".
Target "PrepareForBuild" skipped. Previously built successfully.
Target "SetBuildDefaultEnvironmentVariables" skipped. Previously built successfully.
Target "SetUserMacroEnvironmentVariables" skipped, due to false condition; ('@(BuildMacro)' != '') was evaluated as ('' != '').
Target "_SelectedFiles" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets" from project "C:\Users\bob\Tools\RemCom-master\RemCom-master\RemCom.vcxproj" (target "SelectClCompile" depends on it):
Done building target "_SelectedFiles" in project "RemCom.vcxproj".
Target "ComputeMIDLGeneratedCompileInputs" skipped. Previously built successfully.
Target "ComputeCLInputPDBName" skipped. Previously built successfully.
Target "ComputeReferenceCLInput" skipped. Previously built successfully.
Target "_SelectedFiles" skipped. Previously built successfully.
Target "SelectCustomBuild" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets" from project "C:\Users\bob\Tools\RemCom-master\RemCom-master\RemCom.vcxproj" (target "SelectClCompile" depends on it):
Done building target "SelectCustomBuild" in project "RemCom.vcxproj".
Target "SelectClCompile" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets" from project "C:\Users\bob\Tools\RemCom-master\RemCom-master\RemCom.vcxproj" (target "ClCompile" depends on it):
Done building target "SelectClCompile" in project "RemCom.vcxproj".
Target "GenerateTargetFrameworkMonikerAttribute" skipped, due to false condition; ('$(GenerateTargetFrameworkAttribute)' == 'true') was evaluated as ('false' == 'true').
Target "ClCompile" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.targets" from project "C:\Users\bob\Tools\RemCom-master\RemCom-master\RemCom.vcxproj" (target "_ClCompile" depends on it):
Task "Delete"
Done executing task "Delete".
Task "CL" skipped, due to false condition; ('%(ClCompile.PrecompiledHeader)' == 'Create' and '%(ClCompile.ExcludedFromBuild)'!='true') was evaluated as ('NotUsing' == 'Create' and ''!='true').
Using "CL" task from assembly "Microsoft.Build.CppTasks.Win32, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Task "CL"
Forcing recompile of all source files due to missing PDB ".\Debug/vc100.pdb".
Environment Variables passed to tool:
VS_UNICODE_OUTPUT=720
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /ZI /nologo /W4 /WX- /Od /Oy- /D _DEBUG /D WIN32 /D _WINDOWS /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo".\Debug/" /Fd".\Debug/vc100.pdb" /FR"Debug\\" /Gd /TP /analyze- /errorReport:prompt RemCom.cpp
Tracking command:
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\Tracker.exe /d C:\Windows\Microsoft.NET\Framework\v4.0.30319\FileTracker.dll /i C:\Users\bob\Tools\RemCom-master\RemCom-master\Debug /r C:\USERS\BOB\TOOLS\REMCOM-MASTER\REMCOM-MASTER\REMCOM.CPP /b MSBuildConsole_CancelEvent0d8935eeddae4c0aa7120cbdbc89ce2e /c "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe" /c /ZI /nologo /W4 /WX- /Od /Oy- /D _DEBUG /D WIN32 /D _WINDOWS /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo".\Debug/" /Fd".\Debug/vc100.pdb" /FR"Debug\\" /Gd /TP /analyze- /errorReport:prompt RemCom.cpp
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.targets(147,5): error MSB6006: "CL.exe" exited with code -1073741515.
Done executing task "CL" -- FAILED.
Done building target "ClCompile" in project "RemCom.vcxproj" -- FAILED.
Build FAILED.
Time Elapsed 00:00:00.07
========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========
I don't known how to fix this bug.
Can you help me please?
Thank you in advance.