Hello,
Whenever I attempt to compile a code in VS 2010 C++ Express I get the following
errors, and server.dll fails to build. I have not modified anything and I have
followed the instructions on the wiki for compiling, and I still continue to
get
the same errors. Please help!
1>------ Build started: Project: client_hl2, Configuration: Release HL2 Win32
------
2>------ Build started: Project: server_hl2, Configuration: Release HL2 Win32
------
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning
MSB8012: TargetPath(C:\ThisIsMyMod\src\cl_dll\Release HL2\client_hl2.dll) does
not match the Linker's OutputFile property value
(C:\ThisIsMyMod\src\cl_dll\Release 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).
1>C:\Program Files
(x86)\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).
1> client_hl2-2005.vcxproj -> C:\ThisIsMyMod\src\cl_dll\Release
HL2\client_hl2.dll
2>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning
MSB8012: TargetPath(C:\ThisIsMyMod\src\dlls\Release HL2\server_hl2.dll) does
not
match the Linker's OutputFile property value (C:\ThisIsMyMod\src\dlls\Release
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).
2>C:\Program Files
(x86)\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).
2>choreoobjects.lib(choreoevent.obj) : warning LNK4075: ignoring
'/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
2>libcpmtd.lib(stdthrow.obj) : error LNK2038: mismatch detected for
'_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in AI_BaseActor.obj
2>libcpmtd.lib(xdebug.obj) : error LNK2038: mismatch detected for
'_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in AI_BaseActor.obj
2> Creating library Release HL2\server.lib and object Release HL2\server.exp
2>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs;
use /NODEFAULTLIB:library
2>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)
2>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)
2>Release HL2\server.dll : fatal error LNK1120: 2 unresolved externals
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
~Jake
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders