Windows 7 x86 Compile Problem: 14 failures

Discussion of compilation configuration and issues

Windows 7 x86 Compile Problem: 14 failures

Postby max » Wed Jul 23, 2014 9:29 pm

Any ideas?

Code: Select all
1>------ Build started: Project: base, Configuration: DLL Release Win32 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\base.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxbase28_vc_custom.dll). 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).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(base) does not match the Linker's OutputFile property value (wxbase28_vc_custom). 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).
1>     Creating library ..\..\lib\vc_dll\wxbase28.lib and object ..\..\lib\vc_dll\wxbase28.exp
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
2>------ Build started: Project: core, Configuration: DLL Release Win32 ------
3>------ Build started: Project: odbc, Configuration: DLL Release Win32 ------
4>------ Build started: Project: xml, Configuration: DLL Release Win32 ------
5>------ Build started: Project: net, Configuration: DLL Release Win32 ------
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\net.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxbase28_net_vc_custom.dll). 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(net) does not match the Linker's OutputFile property value (wxbase28_net_vc_custom). 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).
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\xml.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxbase28_xml_vc_custom.dll). 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).
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(xml) does not match the Linker's OutputFile property value (wxbase28_xml_vc_custom). 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).
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\odbc.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxbase28_odbc_vc_custom.dll). 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).
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(odbc) does not match the Linker's OutputFile property value (wxbase28_odbc_vc_custom). 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).
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\core.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxmsw28_core_vc_custom.dll). 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).
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(core) does not match the Linker's OutputFile property value (wxmsw28_core_vc_custom). 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).
3>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
4>     Creating library ..\..\lib\vc_dll\wxbase28_xml.lib and object ..\..\lib\vc_dll\wxbase28_xml.exp
4>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
5>     Creating library ..\..\lib\vc_dll\wxbase28_net.lib and object ..\..\lib\vc_dll\wxbase28_net.exp
5>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
2>     Creating library ..\..\lib\vc_dll\wxmsw28_core.lib and object ..\..\lib\vc_dll\wxmsw28_core.exp
2>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
6>------ Build started: Project: adv, Configuration: DLL Release Win32 ------
7>------ Build started: Project: html, Configuration: DLL Release Win32 ------
8>------ Build started: Project: gl, Configuration: DLL Release Win32 ------
9>------ Build started: Project: qa, Configuration: DLL Release Win32 ------
10>------ Build started: Project: media, Configuration: DLL Release Win32 ------
8>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\gl.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxmsw28_gl_vc_custom.dll). 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).
8>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(gl) does not match the Linker's OutputFile property value (wxmsw28_gl_vc_custom). 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).
9>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\qa.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxmsw28_qa_vc_custom.dll). 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).
9>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(qa) does not match the Linker's OutputFile property value (wxmsw28_qa_vc_custom). 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).
6>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\adv.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxmsw28_adv_vc_custom.dll). 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).
6>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(adv) does not match the Linker's OutputFile property value (wxmsw28_adv_vc_custom). 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).
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\html.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxmsw28_html_vc_custom.dll). 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).
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(html) does not match the Linker's OutputFile property value (wxmsw28_html_vc_custom). 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).
10>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\media.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxmsw28_media_vc_custom.dll). 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).
10>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(media) does not match the Linker's OutputFile property value (wxmsw28_media_vc_custom). 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).
8>     Creating library ..\..\lib\vc_dll\wxmsw28_gl.lib and object ..\..\lib\vc_dll\wxmsw28_gl.exp
8>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
9>     Creating library ..\..\lib\vc_dll\wxmsw28_qa.lib and object ..\..\lib\vc_dll\wxmsw28_qa.exp
9>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
10>     Creating library ..\..\lib\vc_dll\wxmsw28_media.lib and object ..\..\lib\vc_dll\wxmsw28_media.exp
10>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
6>     Creating library ..\..\lib\vc_dll\wxmsw28_adv.lib and object ..\..\lib\vc_dll\wxmsw28_adv.exp
6>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
11>------ Build started: Project: dbgrid, Configuration: DLL Release Win32 ------
12>------ Build started: Project: aui, Configuration: DLL Release Win32 ------
11>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\dbgrid.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxmsw28_dbgrid_vc_custom.dll). 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).
11>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(dbgrid) does not match the Linker's OutputFile property value (wxmsw28_dbgrid_vc_custom). 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).
11>LINK : fatal error LNK1181: cannot open input file '..\..\lib\vc_dll\wxbase28_odbc.lib'
7>     Creating library ..\..\lib\vc_dll\wxmsw28_html.lib and object ..\..\lib\vc_dll\wxmsw28_html.exp
12>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\aui.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxmsw28_aui_vc_custom.dll). 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).
12>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(aui) does not match the Linker's OutputFile property value (wxmsw28_aui_vc_custom). 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).
7>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
13>------ Build started: Project: richtext, Configuration: DLL Release Win32 ------
14>------ Build started: Project: xrc, Configuration: DLL Release Win32 ------
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\richtext.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxmsw28_richtext_vc_custom.dll). 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).
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(richtext) does not match the Linker's OutputFile property value (wxmsw28_richtext_vc_custom). 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).
14>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\GmatVS\Gmat3rdParty\wxWidgets\build\msw\.\..\..\lib\vc_dll\xrc.dll) does not match the Linker's OutputFile property value (C:\GmatVS\Gmat3rdParty\wxWidgets\lib\vc_dll\wxmsw28_xrc_vc_custom.dll). 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).
14>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(xrc) does not match the Linker's OutputFile property value (wxmsw28_xrc_vc_custom). 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).
12>     Creating library ..\..\lib\vc_dll\wxmsw28_aui.lib and object ..\..\lib\vc_dll\wxmsw28_aui.exp
12>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
13>     Creating library ..\..\lib\vc_dll\wxmsw28_richtext.lib and object ..\..\lib\vc_dll\wxmsw28_richtext.exp
13>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
14>     Creating library ..\..\lib\vc_dll\wxmsw28_xrc.lib and object ..\..\lib\vc_dll\wxmsw28_xrc.exp
14>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Build: 0 succeeded, 14 failed, 6 up-to-date, 0 skipped ==========
max
 
Posts: 5
Joined: Wed Jul 23, 2014 4:36 am

Re: Windows 7 x86 Compile Problem: 14 failures

Postby max » Thu Jul 24, 2014 5:37 am

Self update...

To solve the MSB8012 error, I had to change the Target Name under Project->Properties->Configuration Properties->General:
Set Target Name to "wxmsw28_$(ProjectName)_vc_custom" or "wxbase28_$(ProjectName)_vc_custom" to match Output File which is listed under Project->Properties->Configuration Properties->Linker
In the case of base, leave out $(ProjectName) and just use "wxbase28_vc_custom" in the Target Name (this also matches the Linker Output File setting).

(Other helpful info on MSB8012: http://blogs.msdn.com/b/vcblog/archive/ ... guide.aspx)

To solve the LNK1123 error, I had to install Service Pack 1: http://www.microsoft.com/en-us/download ... x?id=23691

As a result of these action, 19 of the 20 projects build. Building the solution a second time to consolidate the outputs from the build, I'm just left with one LNK1181 error:
Code: Select all
1>------ Build started: Project: dbgrid, Configuration: DLL Release Win32 ------
1>LINK : fatal error LNK1181: cannot open input file '..\..\lib\vc_dll\wxbase28_odbc.lib'
========== Build: 0 succeeded, 1 failed, 19 up-to-date, 0 skipped ==========
max
 
Posts: 5
Joined: Wed Jul 23, 2014 4:36 am


Return to Compiling GMAT

Who is online

Users browsing this forum: No registered users and 2 guests

cron