I got the same error:
Severity Code Description Project File Line Suppression State
Error Build has failed. See the Output window for more details. Demo2 C:\Users\Taisen\Documents\STM32Cube_Generated\Demo2\Demo2\Demo2\EXEC 1
Error Command-line action failed Demo2 C:\Users\Taisen\Documents\STM32Cube_Generated\Demo2\Demo2\Demo2\VisualGDB 1
Warning ignoring old recipe for target `Debug/system_stm32f4xx.o’ Demo2 C:\Users\Taisen\Documents\STM32Cube_Generated\Demo2\Demo2\Demo2\Makefile 185
Error ld returned 1 exit status Demo2 C:\Users\Taisen\Documents\STM32Cube_Generated\Demo2\Demo2\Demo2\collect2.exe 1
Warning overriding recipe for target `Debug/system_stm32f4xx.o’ Demo2 C:\Users\Taisen\Documents\STM32Cube_Generated\Demo2\Demo2\Demo2\Makefile 473
Error MSB3073 The command “”C:\Program Files (x86)\Sysprogs\VisualGDB\\VisualGDB.exe” /build “C:\Users\Taisen\Documents\STM32Cube_Generated\Demo2\Demo2\Demo2\Demo2.vcxproj” “/solution:C:\Users\Taisen\Documents\STM32Cube_Generated\Demo2\Demo2\Demo2.sln” “/config:Debug” “/platform:Win32″” exited with code 1. Demo2 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 41
I am following the video instruction here: https://www.youtube.com/watch?v=MFEzmGOmb-8
If I click the error, it will jump to Microsoft.MakeFile.targets
line 39-42:
<Target Name=”Build” DependsOnTargets=”PrepareForNMakeBuild;ResolveReferences;GetTargetPath;$(PreNMakeBuildTarget)” Returns=”$(NMakeManagedOutput)”>
<VCMessage Code=”MSB8005″ Type=”Warning” Arguments=”NMakeBuildCommandLine” Condition=”‘$(NMakeBuildCommandLine)’==””/>
<Exec Command=”$(NMakeBuildCommandLine)” Condition=”‘$(NMakeBuildCommandLine)’!=””/>
</Target>
I do same as the video show, and there is no other errors… Please help!!!!!!!!!!