开发者

VC++ 2010 exclude library

开发者 https://www.devze.com 2023-01-20 12:40 出处:网络
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.li开发者_Go百科b, which is

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.li开发者_Go百科b, 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?


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:

VC++ 2010 exclude library

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号