VC++ 2010 排除库 [英] VC++ 2010 exclude library
问题描述
我正在构建的一个项目试图包含一个库,但在我的一生中,我无法找到包含它的调用.它试图包含 atlthunk.lib,它应该通过 atlbase.h 中的 #pragma 注释包含,但在我的 atlbase.h 中没有这样的注释.
A project I'm building is attempting to include a library, but for the life of me I can't find out the call to include it is coming from. It's trying to include atlthunk.lib, which is supposed to be included through a #pragma comment in atlbase.h, but there's no such comment in my atlbase.h.
我读到其他人遇到这个问题,但通过强行排除 lib"来规避它.我意识到这不是一个稳定的解决方案,但有人能告诉我如何强行排除图书馆吗?
I read about someone else who had this problem, but circumvented it by "excluding the lib forcefully". I realise this isn't a stable solution, but could someone tell me how one goes about forcefully excluding a library?
推荐答案
是
链接器/输入 - 忽略特定的默认库
Linker/Input - Ignore Specific Default Libraries
将库放在那里忽略.
这是一个可以帮助您的屏幕截图:
Here is a screenshot to help you along:
这篇关于VC++ 2010 排除库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!