如何在Visual Studio链接器选项中确定添加未知库 [英] How to determine addition of an unknown library in Visual Studio linker options

查看:135
本文介绍了如何在Visual Studio链接器选项中确定添加未知库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Visual Studio 2015项目。 在此项目中,如果我右键单击它并选择属性 - >配置属性 - >链接器 - >命令行,则该值显示库"tdrvier_sd.lib"。 但是,我无法找到这个
库如何进入命令行。 如果我查看属性 - >配置属性 - >链接器 - >输入 - >附加依赖关系,我在列表中看不到此特定文件。

I have a Visual Studio 2015 project.  In this project if I right-click on it and select Properties->Configuration Properties->Linker->Command Line, the value shows a library "tdrvier_sd.lib".  However, I cannot find how this library made it into the command line.  If I look at Properties->Configuration Properties->Linker->Input->Additional Dependencies, I don't see this particular file in the list.

哪里会这个额外的图书馆会被添加吗? 我该如何确定? 请看下面的图片,看看我的意思。

Where would this additional library be getting added?  How can I determine this?  Please take a look at the image below to see what I mean.

推荐答案

转到VS IDE Property Manager窗格。 如果它不可见,您可以从View |的主菜单中打开它物业经理。 属性管理器将包含列出每个项目配置的所有属性表的节点。新创建的控制台项目的
VS2015 Property Manager选项卡如下所示:

Go to the VS IDE Property Manager Pane.  If it is not visible you can open it from the main menu at View | Property Manager.  The property manager will contain nodes that list all of the property sheets for each of a project's configurations. A VS2015 Property Manager tab for a newly created console project looks like this -

在其中一个配置节点下选择一个属性表。然后单击属性按钮以打开工作表。 在此示例中,Core Windows Libraries表(打开到链接器输入)看起来像这样 -

Select a property sheet under one of the configuration nodes. Then click the property button to open the sheet.  In this example, the Core Windows Libraries sheet (opened to linker inputs) looks like this -

当您查看项目的属性时,您看到的实际上是各种属性表中可通过以下方式查看/编辑的条目的合并。物业经理。

What you see when you look at a project's properties is actually an amalgamation of the entries in the various property sheets that can be viewed/edited in through the property manager.

检查物业管理器配置中的每个工作表,找到神秘库的来源。

Examine each sheet in the property manager configurations to find the source of the mystery library.


这篇关于如何在Visual Studio链接器选项中确定添加未知库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆