It may be hard to find VS2005 but trust me it's worth your trouble to find it

Gabriel Smith

On Aug 3, 2010, at 10:16 PM, Olly <[email protected]> wrote:

> The source code doesn't officially support Visual Studio 2010, not even VS
> 2008. Your best bet is probably to use Visual C++ 2005 (Express if you don't
> have a license). Most of the pre-built lib files that come from Valve are
> probably compiled on 2005, so depending on what changed since VS2005, and
> 2010, they might now be incompatible. I'm not saying that 2010 doesn't work,
> or can't be made to work, but most people here will be using 2005, or 2008.
> 
> On 4 August 2010 02:56, Jordan Friendshuh <[email protected]> wrote:
> 
>> Hi.  I am new to coding and am having an issue.  I'm using Visual Studio
>> 2010
>> editing Game_HL2-2005 in the single player mod option for regular HL2.
>> Without
>> making any changes to the files except the "fix debug compilation", the
>> build
>> fails.  It has to do with the linker and not being able to find string_base
>> or
>> something.  Can anyone help me?  This is what it says when you build.
>> 
>> ------ Build started: Project: client_hl2, Configuration: Debug HL2 Win32
>> ------
>> Build started 8/3/2010 8:40:01 PM.
>> InitializeBuildStatus:
>> Creating "Debug HL2\client_hl2.unsuccessfulbuild" because "AlwaysCreate"
>> was
>> specified.
>> ClCompile:
>> All outputs are up-to-date.
>> All outputs are up-to-date.
>> All outputs are up-to-date.
>> ManifestResourceCompile:
>> All outputs are up-to-date.
>> C:\Program
>> Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5):
>> warning MSB8012: TargetPath(C:\Crazy Weapons\src\cl_dll\Debug
>> HL2\client_hl2.dll) does not match the Linker's OutputFile property value
>> (C:\Crazy Weapons\src\cl_dll\Debug HL2\client.dll). This may cause your
>> project
>> to build incorrectly. To correct this, please make sure that $(OutDir),
>> $(TargetName) and $(TargetExt) property values match the value specified in
>> %(Link.OutputFile).
>> C:\Program
>> Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5):
>> warning MSB8012: TargetName(client_hl2) does not match the Linker's
>> OutputFile
>> property value (client). This may cause your project to build incorrectly.
>> To
>> correct this, please make sure that $(OutDir), $(TargetName) and
>> $(TargetExt)
>> property values match the value specified in %(Link.OutputFile).
>> Link:
>> All outputs are up-to-date.
>> Manifest:
>> All outputs are up-to-date.
>> BscMake:
>> All outputs are up-to-date.
>> CustomBuildStep:
>> Description: Copying to destination folder
>>         1 file(s) copied.
>> FinalizeBuildStatus:
>> Deleting file "Debug HL2\client_hl2.unsuccessfulbuild".
>> Touching "Debug HL2\client_hl2.lastbuildstate".
>> 
>> Build succeeded.
>> 
>> Time Elapsed 00:00:03.32
>> ------ Build started: Project: server_hl2, Configuration: Debug HL2 Win32
>> ------
>> Build started 8/3/2010 8:40:06 PM.
>> InitializeBuildStatus:
>> Touching "Debug HL2\server_hl2.unsuccessfulbuild".
>> ClCompile:
>> All outputs are up-to-date.
>> All outputs are up-to-date.
>> All outputs are up-to-date.
>> All outputs are up-to-date.
>> ManifestResourceCompile:
>> All outputs are up-to-date.
>> C:\Program
>> Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5):
>> warning MSB8012: TargetPath(C:\Crazy Weapons\src\dlls\Debug
>> HL2\server_hl2.dll)
>> does not match the Linker's OutputFile property value (C:\Crazy
>> Weapons\src\dlls\Debug HL2\server.dll). This may cause your project to
>> build
>> incorrectly. To correct this, please make sure that $(OutDir),
>> $(TargetName) and
>> $(TargetExt) property values match the value specified in
>> %(Link.OutputFile).
>> C:\Program
>> Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5):
>> warning MSB8012: TargetName(server_hl2) does not match the Linker's
>> OutputFile
>> property value (server). This may cause your project to build incorrectly.
>> To
>> correct this, please make sure that $(OutDir), $(TargetName) and
>> $(TargetExt)
>> property values match the value specified in %(Link.OutputFile).
>> Link:
>>    Creating library Debug HL2\server.lib and object Debug HL2\server.exp
>> LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other
>> libs;
>> use /NODEFAULTLIB:library
>> choreoobjects.lib(choreoevent.obj) : error LNK2019: unresolved external
>> symbol
>> "public: static void __cdecl std::_String_base::_Xran(void)"
>> (?_x...@_string_base@std@@SAXXZ) 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)"
>> (?er...@?$basic_string@du?$char_tra...@d@std@@v?$alloca...@d@2@@std@
>> @qaeaa...@ii@Z)
>> 
>> choreoobjects.lib(choreoevent.obj) : error LNK2019: unresolved external
>> symbol
>> "public: static void __cdecl std::_String_base::_Xlen(void)"
>> (?_x...@_string_base@std@@SAXXZ) referenced in function "protected: bool
>> __thiscall std::basic_string<char,struct std::char_traits<char>,class
>> std::allocator<char> >::_Grow(unsigned int,bool)"
>> (?_g...@?$basic_string@du?$char_tra...@d@std@@v?$alloca...@d@2@@std@
>> @iae_n...@z)
>> Debug HL2\server.dll : fatal error LNK1120: 2 unresolved externals
>> 
>> Build FAILED.
>> 
>> Time Elapsed 00:00:43.60
>> ========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
>> 
>> 
>> 
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>> 
>> 
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> 

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to