在另一个“.Lib文件”中找到“静态链接库”

时间:2016-10-20 09:14:53

标签: c++ visual-studio static-libraries static-linking

我有libhpdfs.lib个文件。我想检查它是否已包含 ZLIB 的库。

我该怎么检查?如果zlib.lib静态存在,我可以搜索吗?

或者如何在libhpdf中搜索 ZLIB的方法/功能 。因为如果我在libhpdf.lib中找到 ZLIB的函数,它会确认ZLIB与libhpdf.lib静态链接

更新:这不是 DUPLICATE 。我已经检查了有关使用 Dumpbin lib.exe的其他问题的建议,但在我的情况下,没有一个是有效的。

当我运行dumbin /symbols myEXE.exe时,我只获得以下信息

Microsoft (R) COFF/PE Dumper Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file TestLibharuCompression.exe

File Type: EXECUTABLE IMAGE

  Summary

        1000 .data
        1000 .idata
        2000 .rdata
        1000 .reloc
        1000 .rsrc
        6000 .text
       10000 .textbss

当我运行lib.exe /list libhpdf.h时,我得到以下结果,但没有提供有关链接到给定.lib文件的其他库的任何信息

libhpdfs.dir\Release\hpdf_annotation.obj
libhpdfs.dir\Release\hpdf_array.obj
libhpdfs.dir\Release\hpdf_binary.obj
libhpdfs.dir\Release\hpdf_boolean.obj
libhpdfs.dir\Release\hpdf_catalog.obj
libhpdfs.dir\Release\hpdf_destination.obj
libhpdfs.dir\Release\hpdf_dict.obj
libhpdfs.dir\Release\hpdf_doc_png.obj
libhpdfs.dir\Release\hpdf_doc.obj
libhpdfs.dir\Release\hpdf_encoder_cns.obj
libhpdfs.dir\Release\hpdf_encoder_cnt.obj
libhpdfs.dir\Release\hpdf_encoder_jp.obj
libhpdfs.dir\Release\hpdf_encoder_kr.obj
libhpdfs.dir\Release\hpdf_encoder.obj
libhpdfs.dir\Release\hpdf_encrypt.obj
libhpdfs.dir\Release\hpdf_encryptdict.obj
libhpdfs.dir\Release\hpdf_error.obj
libhpdfs.dir\Release\hpdf_ext_gstate.obj
libhpdfs.dir\Release\hpdf_font_cid.obj
libhpdfs.dir\Release\hpdf_font_tt.obj
libhpdfs.dir\Release\hpdf_font_type1.obj
libhpdfs.dir\Release\hpdf_font.obj
libhpdfs.dir\Release\hpdf_fontdef_base14.obj
libhpdfs.dir\Release\hpdf_fontdef_cid.obj
libhpdfs.dir\Release\hpdf_fontdef_cns.obj
libhpdfs.dir\Release\hpdf_fontdef_cnt.obj
libhpdfs.dir\Release\hpdf_fontdef_jp.obj
libhpdfs.dir\Release\hpdf_fontdef_kr.obj
libhpdfs.dir\Release\hpdf_fontdef_tt.obj
libhpdfs.dir\Release\hpdf_fontdef_type1.obj
libhpdfs.dir\Release\hpdf_fontdef.obj
libhpdfs.dir\Release\hpdf_gstate.obj
libhpdfs.dir\Release\hpdf_image_ccitt.obj
libhpdfs.dir\Release\hpdf_image_png.obj
libhpdfs.dir\Release\hpdf_image.obj
libhpdfs.dir\Release\hpdf_info.obj
libhpdfs.dir\Release\hpdf_list.obj
libhpdfs.dir\Release\hpdf_mmgr.obj
libhpdfs.dir\Release\hpdf_name.obj
libhpdfs.dir\Release\hpdf_namedict.obj
libhpdfs.dir\Release\hpdf_null.obj
libhpdfs.dir\Release\hpdf_number.obj
libhpdfs.dir\Release\hpdf_objects.obj
libhpdfs.dir\Release\hpdf_outline.obj
libhpdfs.dir\Release\hpdf_page_label.obj
libhpdfs.dir\Release\hpdf_page_operator.obj
libhpdfs.dir\Release\hpdf_pages.obj
libhpdfs.dir\Release\hpdf_real.obj
libhpdfs.dir\Release\hpdf_streams.obj
libhpdfs.dir\Release\hpdf_string.obj
libhpdfs.dir\Release\hpdf_u3d.obj
libhpdfs.dir\Release\hpdf_utils.obj
libhpdfs.dir\Release\hpdf_xref.obj
libhpdfs.dir\Release\hpdf_pdfa.obj
libhpdfs.dir\Release\hpdf_3dmeasure.obj
libhpdfs.dir\Release\hpdf_exdata.obj
libhpdfs.dir\Release\hpdf_encoder_utf.obj

0 个答案:

没有答案