[英]Release build depends on debug dll from MFC
Our release build requires debug versions of MFC libs. 我们的发行版本需要MFC库的调试版本。 Does anyone know where to start looking in the project so we can correctly change those dependencies to release ones?
有谁知道从哪里开始寻找项目,以便我们可以正确地更改那些依赖关系以发布依赖关系?
Command line used: 使用的命令行:
for %f in (*.lib) do dumpbin /IMPORTS:msvcrt120d.dll /OUT:output.txt
对于(* .lib)中的%f,请执行dumpbin /IMPORTS:msvcrt120d.dll /OUT:output.txt
EDIT: 编辑:
And the output I get (irrelavant of what import file I specify):
我得到的输出(与我指定的导入文件无关):
Dump of file DataMts.lib
File Type: LIBRARY
Summary
1B0 .CRT$XCU
15BA .bss
238 .data
5D67 .data$r
1FC0 .debug$S
1ABB2 .drectve
1AE68 .pdata
1CA3C .rdata
BDF0 .rdata$r
730 .rsrc$01
25F8 .rsrc$02
636 .text$di
146BCA .text$mn
F259 .text$x
597 .text$yd
3BC58 .xdata
980 .xdata$x
10 ATL$__a
10 ATL$__z
Just went through this to ensure our final build had no debug dependencies Here is my bat file - 只是为了确保我们最终的构建没有调试依赖性,这是我的bat文件-
@echo off
echo Testing...
for %%v in (*.exe *.dll) do (
dumpbin /imports %%v | find /i "0d.dll" > nul
if not errorlevel 1 echo %%v is Debug
)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.