[racket] MSB8012 conversion error compiling Racket with VS2010
After converting solution files from VS2008 to VS2010, I get errors like
MSB8012: $(TargetName) ('libmzgc') does not match the Linker's OutputFile
property value '..\..\..\lib\libmzgcxxxxxxx.dll' ('libmzgcxxxxxxx') in
project configuration 'Release|x64'. This may cause your project to build
incorrectly. To correct this, please make sure that $(TargetName) property
value matches the value specified in %(Link.OutputFile).">
in the conversion log file and build.bat (from Racket-5.2.1\src\worksp)
gives errors building racket.sln
The build output for project racket is:
5>------ Build started: Project: racket, Configuration: Release Win32
------
5>Build started 15.06.2012 20:55:15.
5>InitializeBuildStatus:
5> Touching "Release\racket.unsuccessfulbuild".
5>ClCompile:
5> Main.c
5>c:\users\cristi\downloads\racket\racket-5.2.1\src\racket\cmdline.inc(5):
warning C4068: unknown pragma
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5):
warning MSB8012:
TargetPath(C:\Users\cristi\Downloads\racket\Racket-5.2.1\src\worksp\racket\Release\racket.exe)
does not match the Linker's OutputFile property value
(C:\Users\cristi\Downloads\racket\Racket-5.2.1\RacketCGC.exe). This may
cause your project to build incorrectly. To correct this, please make sure
that $(OutDir), $(TargetName) and $(TargetExt) property values match the
value specified in %(Link.OutputFile).
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5):
warning MSB8012: TargetName(racket) does not match the Linker's OutputFile
property value (RacketCGC). This may cause your project to build
incorrectly. To correct this, please make sure that $(OutDir),
$(TargetName) and $(TargetExt) property values match the value specified
in %(Link.OutputFile).
5>Link:
5> racket.vcxproj ->
C:\Users\cristi\Downloads\racket\Racket-5.2.1\src\worksp\racket\Release\racket.exe
5>EXEC : error : did not find
C:\Users\cristi\Downloads\racket\Racket-5.2.1\src\worksp\racket\Release\racket.exe
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073: The command "
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073: if exist
"C:\Users\cristi\Downloads\racket\Racket-5.2.1\src\worksp\racket\Release\racket.exe"
goto :MzOK
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073: echo Error: did not find
C:\Users\cristi\Downloads\racket\Racket-5.2.1\src\worksp\racket\Release\racket.exe
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073: exit 1
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073: :MzOK
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073:
"C:\Users\cristi\Downloads\racket\Racket-5.2.1\src\worksp\racket\Release\racket.exe"
-cu ..\..\racket\mkincludes.rkt
"C:\Users\cristi\Downloads\racket\Racket-5.2.1\src\worksp\racket\Release\/include/"
..\..\racket ..
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073: if errorlevel 1 exit 1
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073: cd ..\..\racket\dynsrc
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073: mkmzdyn.bat
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073: cd ..\..\worksp\racket
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073:
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073:
5>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073: :VCEnd" exited with code 1.
5>
5>Build FAILED.
5>
5>Time Elapsed 00:00:02.98
========== Build: 3 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========