我在vs2010 Ultimate下批量构建wxwidget,报错:
Build started 2013/3/11 10:41:47.
InitializeBuildStatus:
Touching "vc_mswuddll\stc\stc.unsuccessfulbuild".
CustomBuild:
All outputs are up-to-date.
ClCompile:
All outputs are up-to-date.
All outputs are up-to-date.
ResourceCompile:
All outputs are up-to-date.
ManifestResourceCompile:
All outputs are up-to-date.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\Users\jack\dev\wx\wxWidgets-2.9.4\build\msw\..\..\lib\vc_dll\stc.dll) does not match the Linker's OutputFile property value (C:\Users\jack\dev\wx\wxWidgets-2.9.4\lib\vc_dll\wxmsw294ud_stc_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).
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(stc) does not match the Linker's OutputFile property value (wxmsw294ud_stc_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).
LINK : fatal error LNK1104: cannot open file 'C:\Users\jack\dev\wx\wxWidgets-2.9.4\lib\vc_lib\wxscintillad.lib'
我使用同一台PC在两个不同的win7系统(使用win7 32bit和win7 64位构建)中尝试了两次,但这台PC有点旧(2007年制造),但我在笔记本电脑下尝试(2011年制造) ,没有错误。所以我很困惑,我检查了 stc 项目的配置。笔记本电脑和PC之间的所有值都是相同的。任何人都可以面临同样的问题或对我的问题有所了解吗?