Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio 10 release link fails #160

Open
GoogleCodeExporter opened this issue Apr 2, 2015 · 0 comments
Open

Visual Studio 10 release link fails #160

GoogleCodeExporter opened this issue Apr 2, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

I used svn to get the current release, opened the solution file and selected 
batch build of everything.

The release build then fails while linking with this error:

gmock.lib(gtest-all.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in gmock_all_test.obj
gmock.lib(gmock-all.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in gmock_all_test.obj
libcpmtd.lib(stdthrow.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in gmock_all_test.obj
libcpmtd.lib(xdebug.obj) : error LNK2038: mismatch detected for 
'_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in gmock_all_test.obj
LIBCMTD.lib(dbgheap.obj) : error LNK2005: __heap_alloc already defined in 
LIBCMT.lib(malloc.obj)
LIBCMTD.lib(dbgheap.obj) : error LNK2005: __recalloc already defined in 
LIBCMT.lib(recalloc.obj)
LIBCMTD.lib(dbgheap.obj) : error LNK2005: __msize already defined in 
LIBCMT.lib(msize.obj)
LIBCMTD.lib(dbghook.obj) : error LNK2005: __crt_debugger_hook already defined 
in LIBCMT.lib(dbghook.obj)
LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype_l already defined in 
LIBCMT.lib(isctype.obj)
LIBCMTD.lib(isctype.obj) : error LNK2005: __isctype already defined in 
LIBCMT.lib(isctype.obj)
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; 
use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; 
use /NODEFAULTLIB:library
D:\dev\3rdparty\googlemock\msvc\2010\Release\gmock_test.exe : fatal error 
LNK1169: one or more multiply defined symbols found

Build FAILED.

Original issue reported on code.google.com by l...@schouw.me on 2 Mar 2013 at 8:29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant