Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding

Reply
 
Thread Tools Display Modes
Old 02-09-2012, 10:34 AM   #1
KittyKatGirl
 
Join Date: Jun 2009
Reputation: 0
Posts: 21
Error Compiling release in VS2010

I just set a fresh copy of 2009 to compile release, it compiled successfully in debug mode.
I added the weapon_sdkbase etc like the wiki said, only to get this error:

Code:
4>tier1.lib(strtools.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(strtools.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
4>tier1.lib(convar.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
3>  ScratchPadUtils.cpp
4>tier1.lib(KeyValues.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(newbitbuf.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(tier1.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(interface.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(utlstring.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(datamanager.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(rangecheckedvar.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(byteswap.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(memstack.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(utlbuffer.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(checksum_crc.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(mempool.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(utlsymbol.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(characterset.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(stringpool.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
3>  server_class.cpp
4>tier1.lib(checksum_md5.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(bitbuf.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
4>tier1.lib(uniqueid.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in achievement_notification_panel.obj
KittyKatGirl is offline  
Reply With Quote
Old 02-09-2012, 10:43 AM   #2
hello123
 
Join Date: Aug 2011
Reputation: 12
Posts: 320
Rebuild all in debug, then rebuild all in release.
That worked for me.
Not just "build" but "rebuild"
hello123 is offline   Reply With Quote
Old 02-09-2012, 11:12 AM   #3
KittyKatGirl
 
Join Date: Jun 2009
Reputation: 0
Posts: 21
Thankyou! That fixed it, all I could find on this in google was some 2 year old thread that no one ever answered.
KittyKatGirl is offline   Reply With Quote
Old 02-09-2012, 11:44 AM   #4
hello123
 
Join Date: Aug 2011
Reputation: 12
Posts: 320
+1 if you like
hello123 is offline   Reply With Quote
Old 04-29-2012, 03:59 AM   #5
sketchblo
 
 
 
Join Date: Aug 2011
Reputation: 152
Posts: 218
Trying right now!
sketchblo is offline   Reply With Quote
Old 04-29-2012, 09:10 AM   #6
durrchet
 
Join Date: Mar 2012
Reputation: 204
Posts: 895
Quote:
Originally Posted by hello123 View Post
Rebuild all in debug, then rebuild all in release.
That worked for me.
Not just "build" but "rebuild"
Erm, debug and release build do not rely on each other. How is rebuilding under debug changing anything

Also pointless necro.
durrchet is offline   Reply With Quote
Old 04-29-2012, 10:15 AM   #7
SkilledNewbie
 
 
 
Join Date: Aug 2004
Reputation: 0
Posts: 70
Quote:
Originally Posted by durrchet View Post
Erm, debug and release build do not rely on each other. How is rebuilding under debug changing anything

Also pointless necro.
Probably some leftover intermediate files that were breaking the build. Running "clean" on the solution would probably also work.
SkilledNewbie is offline   Reply With Quote
Old 04-29-2012, 11:03 AM   #8
hello123
 
Join Date: Aug 2011
Reputation: 12
Posts: 320
Quote:
Originally Posted by SkilledNewbie View Post
Probably some leftover intermediate files that were breaking the build. Running "clean" on the solution would probably also work.
Yeah problably.
And I know debug and release aren't related to eachother, but it worked..
hello123 is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 01:37 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.