VC++ 2010 exclude library

你说的曾经没有我的故事 提交于 2020-01-03 03:11:14

问题


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.

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?


回答1:


It's a project setting under

Linker/Input - Ignore Specific Default Libraries

Put the library to ignore there.

Here is a screenshot to help you along:



来源:https://stackoverflow.com/questions/3929831/vc-2010-exclude-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!