Unresolved Externals

今天编译release version的程序时,碰到一堆这样的link error。

error LNK2001: unresolved external symbol "public: void __thiscall std::_String_base::_Xlen(void)const " (?_Xlen@_String_base@std@@QBEXXZ)

查了半天才发现是VC的lib和Platform SDK的lib的兼容性问题,把Platform SDK里的libcp.lib删掉,就什么都好了。


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s