Talk:Compiler Requirements

From Valve Developer Community
Jump to: navigation, search

This article should differentiate between what the two compilers are for...shaders and binaries—ts2do 16:27, 10 Feb 2006 (PST)

Xran error

If you install VS2003 after you have installed VS2005 and the new platform sdk, the hl2 sdk will not build properly giving this error: client error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " (?_Xran@_String_base@std@@QBEXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" (?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@II@Z)

To fix simple remove all the new platform sdk references from Tools->Options->Projects->VC++Directories so you are only left with the original ones from 2003 - erus