在构建代码时,我会得到以下错误。
Linker C:\Program (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5):警告MSB8012: TargetPath(E:\Study\FWIF\demola\ext-libs\libcommoncpp2-1.6.0\w32\Debug\ccgnu2.dll)与
的OutputFile属性值g\CapeCommon14.dll不匹配。这可能会导致您的项目生成错误。要纠正这一点,请确保$(OutDir)、$(TargetName)和$(TargetExt)属性值与%(Link.OutputFile)中指定的值匹配。
我希望有人知道该怎么做。
发布于 2020-06-10 14:23:46
Goto > Properties -> Configuration Properties-> Linker->General节
将“输出文件”指定为$(OutDir)$(TargetName)$(TargetExt)
https://stackoverflow.com/questions/4494028
复制相似问题