Jump to content
  • Advertisement
Sign in to follow this  
Halley62373

error LNK2005: __invoke_watson

This topic is 3256 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

LIBCMT.lib(invarg.obj) : error LNK2005: __invoke_watson 已经在 MSVCRTD.lib(MSVCR90D.dll) 中定义 1>LINK : warning LNK4098: 默认库“LIBCMT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library 1>Debug\Dark.exe : fatal error LNK1169: 找到一个或多个多重定义的符号 how to solve this problem?

Share this post


Link to post
Share on other sites
Advertisement
Your have specified different runtime library settings for different elements (static libraries, application) of your project. Make sure they're all the same (here one is trying to use the debug DLL version of the CRT, while the other is using the release static library version).

If you can't do that, pass the /NODEFAULTLIB switch to the linker, like the LNK4098 warning suggests.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!