Ashish
2008-10-08 10:36:46 UTC
I'm making a project in vc9 in visual studio 2008.
When i compile my project there are some linking errors like:
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: _sprintf already defined in
libcmtd.lib(sprintf.obj)
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: _memchr already defined in
libcmtd.lib(memchr.obj)
To fix above errors i add libcmtd.lib in "ignore specific library" under
project setting in linker tab.. But now i'm getting following 2 errors and
dont way the way to fix them.
1>nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol
___argv
1>nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol
___argc
Please suggest how to fix them.
And mfc42d.lib is part of VC6. This library is not present in VS2008. What's
the replacement of this library in VS2008.
When i compile my project there are some linking errors like:
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: _sprintf already defined in
libcmtd.lib(sprintf.obj)
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: _memchr already defined in
libcmtd.lib(memchr.obj)
To fix above errors i add libcmtd.lib in "ignore specific library" under
project setting in linker tab.. But now i'm getting following 2 errors and
dont way the way to fix them.
1>nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol
___argv
1>nafxcwd.lib(appcore.obj) : error LNK2001: unresolved external symbol
___argc
Please suggest how to fix them.
And mfc42d.lib is part of VC6. This library is not present in VS2008. What's
the replacement of this library in VS2008.