Today, I badly got strucked with LNK2005 error in Visual C++. According to linking error messages, it was a conflict between nafxcwd.lib and uafxcwd.lib. This issue will arise if one module (library or executable) "Use Unicode Character Set" and another "Use Multi-Byte Character Set".
It is important to note that LNK2005 normally arises because of two or more projects are set differently. There are two spots worth looking:


2. Code Generation Setting
Notice that there is nothing to do with linking setting, although this issue is linking problem.
More info at:
http://www.velocityreviews.com/forums/t285209-lnk2005error-in-visual-c-v-60.html
http://support.microsoft.com/kb/q148652/
No comments:
Post a Comment