GunZ Building Errors (Server)

Results 1 to 9 of 9
  1. #1
    In Progress... FFXIV... Anju is offline
    MemberRank
    Oct 2010 Join Date
    Mist Ward 7 #38Location
    1,946Posts

    GunZ Building Errors (Server)

    I'm only posting this for only about the server runtime and such.

    MatchServer Error:
    Code:
    1>------ Build started: Project: cml, Configuration: Release Win32 ------
    2>------ Build started: Project: CSCommon, Configuration: KOR_Release_publish Win32 ------
    1>Build started 8/6/2013 12:57:38 AM.
    2>Build started 8/6/2013 12:57:38 AM.
    1>InitializeBuildStatus:
    1>  Creating "Release\cml.unsuccessfulbuild" because "AlwaysCreate" was specified.
    1>ClCompile:
    1>  All outputs are up-to-date.
    2>InitializeBuildStatus:
    2>  Creating "KOR_Release_publish\CSCommon.unsuccessfulbuild" because "AlwaysCreate" was specified.
    2>ClCompile:
    2>  All outputs are up-to-date.
    2>  All outputs are up-to-date.
    2>Lib:
    2>  All outputs are up-to-date.
    2>  CSCommon.vcxproj -> C:\Users\Anju\Desktop\GunZ\7. Source\CSCommon\Lib\CSCommon.lib
    2>FinalizeBuildStatus:
    2>  Deleting file "KOR_Release_publish\CSCommon.unsuccessfulbuild".
    2>  Touching "KOR_Release_publish\CSCommon.lastbuildstate".
    2>
    2>Build succeeded.
    2>
    2>Time Elapsed 00:00:00.30
    1>  stdafx.cpp
    1>  MMatrix.cpp
    1>  MVector3.cpp
    1>  seed.cpp
    1>  HMAC_SHA1.cpp
    1>  MMD5.cpp
    1>  SHA1.cpp
    1>  CfgFile.cpp
    1>  CMError.c
    1>  CMLexicalAnalyzer.cpp
    1>  CommonLog.cpp
    1>  FileInfo.cpp
    1>  hash.c
    1>  LibPak.cpp
    1>  MArchive.cpp
    1>  MAsyncHttp.cpp
    1>  MBlobArray.cpp
    1>  MCheckSum.cpp
    1>  MChunkReWriter.cpp
    1>  MCrashDump.cpp
    1>  MCRC32.cpp
    1>  Generating Code...
    1>  Compiling...
    1>  MCrypt.cpp
    1>  MCsvParser.cpp
    1>  MDataChecker.cpp
    1>  MDebug.cpp
    1>Source\MDebug.cpp(212): warning C4535: calling _set_se_translator() requires /EHa
    1>  MemPool.cpp
    1>  MHttpSpooler.cpp
    1>  MInet.cpp
    1>  MInetUtil.cpp
    1>  MLex.cpp
    1>  MLocale.cpp
    1>  MMemoryProxy.cpp
    1>  MPageArray.cpp
    1>  MPdb.cpp
    1>  MProcessController.cpp
    1>  MProfiler.cpp
    1>  MRegistry.cpp
    1>  MRsaEncrypt.cpp
    1>  MSmartRefresh.cpp
    1>  MStateMachine.cpp
    1>  MStrEx.cpp
    1>  Generating Code...
    1>  Compiling...
    1>  MSync.cpp
    1>  MThread.cpp
    1>  MTraceMemory.cpp
    1>  MUtil.cpp
    1>  MXml.cpp
    1>  MZFileSystem.cpp
    1>  MZip.cpp
    1>  Generating Code...
    1>  All outputs are up-to-date.
    1>  MFolderNotifier.cpp
    1>Lib:
    1>  cml.vcxproj -> C:\Users\Anju\Desktop\GunZ\7. Source\cml\Lib\cml.lib
    1>FinalizeBuildStatus:
    1>  Deleting file "Release\cml.unsuccessfulbuild".
    1>  Touching "Release\cml.lastbuildstate".
    1>
    1>Build succeeded.
    1>
    1>Time Elapsed 00:00:12.15
    3>------ Build started: Project: MatchServer, Configuration: KOR_Release_publish Win32 ------
    3>Build started 8/6/2013 12:57:51 AM.
    3>InitializeBuildStatus:
    3>  Touching "KOR_Release_publish\MatchServer.unsuccessfulbuild".
    3>ClCompile:
    3>  stdafx.cpp
    3>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\atlcore.h(35): fatal error C1189: #error :  This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended.
    3>
    3>Build FAILED.
    3>
    3>Time Elapsed 00:00:01.49
    ========== Build: 2 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========
    This basically won't build because it's saying something about _WIN32_WINNT. I have tried everything in my search to see what is causing that error, but found nothing. Unless I'm not looking correctly.

    Locator Error:
    Code:
    1>------ Build started: Project: MDatabase, Configuration: Release Win32 ------
    2>------ Build started: Project: SafeUDP, Configuration: Release Win32 ------
    3>------ Build started: Project: CSCommon, Configuration: KOR_Release_publish Win32 ------
    4>------ Build started: Project: cml, Configuration: Release Win32 ------
    2>Build started 8/6/2013 1:00:15 AM.
    2>InitializeBuildStatus:
    2>  Creating "Release\SafeUDP.unsuccessfulbuild" because "AlwaysCreate" was specified.
    2>ClCompile:
    2>  All outputs are up-to-date.
    1>Build started 8/6/2013 1:00:15 AM.
    3>Build started 8/6/2013 1:00:15 AM.
    1>InitializeBuildStatus:
    2>  All outputs are up-to-date.
    1>  Creating "Release\MDatabase.unsuccessfulbuild" because "AlwaysCreate" was specified.
    1>ClCompile:
    1>  All outputs are up-to-date.
    1>  All outputs are up-to-date.
    1>Lib:
    1>  All outputs are up-to-date.
    1>  MDatabase.vcxproj -> C:\Users\Anju\Desktop\GunZ\7. Source\MDatabase\Lib\MDatabase.lib
    1>FinalizeBuildStatus:
    1>  Deleting file "Release\MDatabase.unsuccessfulbuild".
    1>  Touching "Release\MDatabase.lastbuildstate".
    1>
    1>Build succeeded.
    1>
    1>Time Elapsed 00:00:00.04
    2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(C:\Users\Anju\Desktop\GunZ\7. Source\SafeUDP\.\Release\SafeUDP.lib) does not match the Library's OutputFile property value (C:\Users\Anju\Desktop\GunZ\7. Source\SafeUDP\lib\SafeUDP.lib). 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 %(Lib.OutputFile).
    2>Lib:
    2>  All outputs are up-to-date.
    2>  SafeUDP.vcxproj -> C:\Users\Anju\Desktop\GunZ\7. Source\SafeUDP\.\Release\SafeUDP.lib
    2>FinalizeBuildStatus:
    2>  Deleting file "Release\SafeUDP.unsuccessfulbuild".
    2>  Touching "Release\SafeUDP.lastbuildstate".
    2>
    2>Build succeeded.
    2>
    2>Time Elapsed 00:00:00.59
    5>------ Build started: Project: MCountryFilter, Configuration: Release Win32 ------
    3>InitializeBuildStatus:
    3>  Creating "KOR_Release_publish\CSCommon.unsuccessfulbuild" because "AlwaysCreate" was specified.
    3>ClCompile:
    3>  All outputs are up-to-date.
    3>  All outputs are up-to-date.
    5>Build started 8/6/2013 1:00:16 AM.
    5>InitializeBuildStatus:
    5>  Creating "Release\MCountryFilter.unsuccessfulbuild" because "AlwaysCreate" was specified.
    4>Build started 8/6/2013 1:00:16 AM.
    5>ClCompile:
    5>  All outputs are up-to-date.
    5>  All outputs are up-to-date.
    5>Lib:
    5>  All outputs are up-to-date.
    5>  MCountryFilter.vcxproj -> C:\Users\Anju\Desktop\GunZ\7. Source\MCountryFilter\Lib\MCountryFilter.lib
    3>Lib:
    3>  All outputs are up-to-date.
    4>InitializeBuildStatus:
    4>  Creating "Release\cml.unsuccessfulbuild" because "AlwaysCreate" was specified.
    5>FinalizeBuildStatus:
    5>  Deleting file "Release\MCountryFilter.unsuccessfulbuild".
    5>  Touching "Release\MCountryFilter.lastbuildstate".
    5>
    5>Build succeeded.
    5>
    5>Time Elapsed 00:00:00.06
    3>  CSCommon.vcxproj -> C:\Users\Anju\Desktop\GunZ\7. Source\CSCommon\Lib\CSCommon.lib
    4>ClCompile:
    4>  All outputs are up-to-date.
    4>  All outputs are up-to-date.
    3>FinalizeBuildStatus:
    3>  Deleting file "KOR_Release_publish\CSCommon.unsuccessfulbuild".
    3>  Touching "KOR_Release_publish\CSCommon.lastbuildstate".
    4>  All outputs are up-to-date.
    3>
    3>Build succeeded.
    3>
    3>Time Elapsed 00:00:00.73
    4>Lib:
    4>  All outputs are up-to-date.
    4>  cml.vcxproj -> C:\Users\Anju\Desktop\GunZ\7. Source\cml\Lib\cml.lib
    4>FinalizeBuildStatus:
    4>  Deleting file "Release\cml.unsuccessfulbuild".
    4>  Touching "Release\cml.lastbuildstate".
    4>
    4>Build succeeded.
    4>
    4>Time Elapsed 00:00:00.13
    6>------ Build started: Project: Locator, Configuration: Release Win32 ------
    6>Build started 8/6/2013 1:00:16 AM.
    6>InitializeBuildStatus:
    6>  Touching "Release\Locator.unsuccessfulbuild".
    6>ClCompile:
    6>  stdafx.cpp
    6>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\atlcore.h(35): fatal error C1189: #error :  This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended.
    6>
    6>Build FAILED.
    6>
    6>Time Elapsed 00:00:00.78
    ========== Build: 5 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Same error with the _WIN32_WINNT.

    MatchAgent Error:
    Code:
    1>------ Build started: Project: MCountryFilter, Configuration: Release Win32 ------
    2>------ Build started: Project: SafeUDP, Configuration: Release Win32 ------
    3>------ Build started: Project: RealSpace2, Configuration: Release_publish Win32 ------
    4>------ Build started: Project: CSCommon, Configuration: KOR_Release_publish Win32 ------
    2>Build started 8/6/2013 1:06:26 AM.
    1>Build started 8/6/2013 1:06:26 AM.
    4>Build started 8/6/2013 1:06:26 AM.
    3>Build started 8/6/2013 1:06:26 AM.
    3>InitializeBuildStatus:
    3>  Creating "Release_publish\RealSpace2.unsuccessfulbuild" because "AlwaysCreate" was specified.
    3>ClCompile:
    3>  All outputs are up-to-date.
    3>  All outputs are up-to-date.
    4>InitializeBuildStatus:
    4>  Creating "KOR_Release_publish\CSCommon.unsuccessfulbuild" because "AlwaysCreate" was specified.
    4>ClCompile:
    4>  All outputs are up-to-date.
    4>  All outputs are up-to-date.
    4>Lib:
    4>  All outputs are up-to-date.
    4>  CSCommon.vcxproj -> C:\Users\Anju\Desktop\GunZ\7. Source\CSCommon\Lib\CSCommon.lib
    4>FinalizeBuildStatus:
    4>  Deleting file "KOR_Release_publish\CSCommon.unsuccessfulbuild".
    4>  Touching "KOR_Release_publish\CSCommon.lastbuildstate".
    4>
    4>Build succeeded.
    4>
    4>Time Elapsed 00:00:00.30
    3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(C:\Users\Anju\Desktop\GunZ\7. Source\RealSpace2\Release_publish\RealSpace2.lib) does not match the Library's OutputFile property value (C:\Users\Anju\Desktop\GunZ\7. Source\RealSpace2\Lib\RealSpace2.lib). 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 %(Lib.OutputFile).
    3>Lib:
    3>  All outputs are up-to-date.
    3>  RealSpace2.vcxproj -> C:\Users\Anju\Desktop\GunZ\7. Source\RealSpace2\Release_publish\RealSpace2.lib
    3>FinalizeBuildStatus:
    3>  Deleting file "Release_publish\RealSpace2.unsuccessfulbuild".
    3>  Touching "Release_publish\RealSpace2.lastbuildstate".
    3>
    3>Build succeeded.
    3>
    3>Time Elapsed 00:00:00.39
    5>------ Build started: Project: cml, Configuration: Release Win32 ------
    1>InitializeBuildStatus:
    1>  Creating "Release\MCountryFilter.unsuccessfulbuild" because "AlwaysCreate" was specified.
    1>ClCompile:
    1>  All outputs are up-to-date.
    1>  All outputs are up-to-date.
    1>Lib:
    1>  All outputs are up-to-date.
    1>  MCountryFilter.vcxproj -> C:\Users\Anju\Desktop\GunZ\7. Source\MCountryFilter\Lib\MCountryFilter.lib
    1>FinalizeBuildStatus:
    1>  Deleting file "Release\MCountryFilter.unsuccessfulbuild".
    1>  Touching "Release\MCountryFilter.lastbuildstate".
    1>
    1>Build succeeded.
    1>
    1>Time Elapsed 00:00:00.17
    6>------ Build started: Project: MDatabase, Configuration: Release Win32 ------
    2>InitializeBuildStatus:
    2>  Creating "Release\SafeUDP.unsuccessfulbuild" because "AlwaysCreate" was specified.
    2>ClCompile:
    2>  All outputs are up-to-date.
    2>  All outputs are up-to-date.
    2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(C:\Users\Anju\Desktop\GunZ\7. Source\SafeUDP\.\Release\SafeUDP.lib) does not match the Library's OutputFile property value (C:\Users\Anju\Desktop\GunZ\7. Source\SafeUDP\lib\SafeUDP.lib). 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 %(Lib.OutputFile).
    2>Lib:
    2>  All outputs are up-to-date.
    2>  SafeUDP.vcxproj -> C:\Users\Anju\Desktop\GunZ\7. Source\SafeUDP\.\Release\SafeUDP.lib
    2>FinalizeBuildStatus:
    2>  Deleting file "Release\SafeUDP.unsuccessfulbuild".
    2>  Touching "Release\SafeUDP.lastbuildstate".
    2>
    2>Build succeeded.
    2>
    2>Time Elapsed 00:00:00.14
    5>Build started 8/6/2013 1:06:27 AM.
    5>InitializeBuildStatus:
    5>  Creating "Release\cml.unsuccessfulbuild" because "AlwaysCreate" was specified.
    6>Build started 8/6/2013 1:06:27 AM.
    5>ClCompile:
    5>  All outputs are up-to-date.
    6>InitializeBuildStatus:
    6>  Creating "Release\MDatabase.unsuccessfulbuild" because "AlwaysCreate" was specified.
    5>  All outputs are up-to-date.
    5>  All outputs are up-to-date.
    5>Lib:
    5>  All outputs are up-to-date.
    5>  cml.vcxproj -> C:\Users\Anju\Desktop\GunZ\7. Source\cml\Lib\cml.lib
    6>ClCompile:
    5>FinalizeBuildStatus:
    5>  Deleting file "Release\cml.unsuccessfulbuild".
    5>  Touching "Release\cml.lastbuildstate".
    5>
    5>Build succeeded.
    5>
    5>Time Elapsed 00:00:00.10
    6>  All outputs are up-to-date.
    6>  All outputs are up-to-date.
    6>Lib:
    6>  All outputs are up-to-date.
    6>  MDatabase.vcxproj -> C:\Users\Anju\Desktop\GunZ\7. Source\MDatabase\Lib\MDatabase.lib
    6>FinalizeBuildStatus:
    6>  Deleting file "Release\MDatabase.unsuccessfulbuild".
    6>  Touching "Release\MDatabase.lastbuildstate".
    6>
    6>Build succeeded.
    6>
    6>Time Elapsed 00:00:00.09
    7>------ Build started: Project: MatchAgent, Configuration: Release Win32 ------
    7>Build started 8/6/2013 1:06:27 AM.
    7>InitializeBuildStatus:
    7>  Creating "Release\MatchAgent.unsuccessfulbuild" because "AlwaysCreate" was specified.
    7>ClCompile:
    7>  stdafx.cpp
    7>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\atlcore.h(35): fatal error C1189: #error :  This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended.
    7>
    7>Build FAILED.
    7>
    7>Time Elapsed 00:00:00.58
    ========== Build: 6 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Again with the _WIN32_WINNT.

    What am I suppose to do to fix this _WIN32_WINNT error that it is mainly talking about?


  2. #2
    Member kubom21 is offline
    MemberRank
    Jun 2009 Join Date
    99Posts

    Re: GunZ Building Errors (Server)

    Did u use VS 2003 or 2010 ?

  3. #3
    In Progress... FFXIV... Anju is offline
    MemberRank
    Oct 2010 Join Date
    Mist Ward 7 #38Location
    1,946Posts

    Re: GunZ Building Errors (Server)

    2010.

  4. #4
    Member kubom21 is offline
    MemberRank
    Jun 2009 Join Date
    99Posts

    Re: GunZ Building Errors (Server)

    6>c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\atlcore.h(35): fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended.
    Try this : Edit file "stdafx.h" and change the value defined for _WIN32_WINNT and WINVER to 0x0502.
    Other method :
    Project Property –> Configuration Properties –> C/C++ -> Command Line ->Additional Options add this code

    /D “_WIN32_WINNT=0×0501”

    if in Windows server 2003 - 0x0501 changes to 0x0502 if in Windows 7 - 0×0501 changes to 0x0601

    It should be works well ! I think :).

    Source :
    Last edited by kubom21; 06-08-13 at 10:26 AM.

  5. #5
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: GunZ Building Errors (Server)

    Quote Originally Posted by kubom21 View Post
    Try this : Edit file "stdafx.h" and change the value defined for _WIN32_WINNT and WINVER to 0x0502.
    That'll work.

  6. #6
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    Re: GunZ Building Errors (Server)


  7. #7
    In Progress... FFXIV... Anju is offline
    MemberRank
    Oct 2010 Join Date
    Mist Ward 7 #38Location
    1,946Posts

    Re: GunZ Building Errors (Server)

    Alright, fixed it. Got my Locator built.

    Now I'm getting this in the MatchAgent:
    Code:
    1>------ Build started: Project: MatchAgent, Configuration: Release Win32 ------
    1>Build started 8/6/2013 6:58:28 AM.
    1>InitializeBuildStatus:
    1>  Touching "Release\MatchAgent.unsuccessfulbuild".
    1>ClCompile:
    1>  All outputs are up-to-date.
    1>  All outputs are up-to-date.
    1>ResourceCompile:
    1>  All outputs are up-to-date.
    1>CSCommon.lib(MQuestScenario.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchBuff.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MBaseChannelRule.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MQuestNPC.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MQuestMap.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MQuestDropTable.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchEvent.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MXmlParser.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MSacrificeQItemTable.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchFormula.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MBaseStringResManager.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchEventFactory.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MQuestItem.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchShutdown.obj) : error LNK2019: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z) referenced in function "public: virtual __thiscall MXmlElement::~MXmlElement(void)" (??1MXmlElement@@UAE@XZ)
    1>CSCommon.lib(MMatchShop.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchWorldItemDesc.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchItem.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchMap.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>MAgentConfig.obj : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>cml.lib(MZFileSystem.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>cml.lib(MXml.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchServer.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>cml.lib(MXml.obj) : error LNK2019: unresolved external symbol "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)" (?ConvertStringToBSTR@_com_util@@YGPA_WPBD@Z) referenced in function "public: __thiscall _bstr_t::Data_t::Data_t(char const *)" (??0Data_t@_bstr_t@@QAE@PBD@Z)
    1>cml.lib(MXml.obj) : error LNK2019: unresolved external symbol "char * __stdcall _com_util::ConvertBSTRToString(wchar_t *)" (?ConvertBSTRToString@_com_util@@YGPADPA_W@Z) referenced in function "public: char const * __thiscall _bstr_t::Data_t::GetString(void)const " (?GetString@Data_t@_bstr_t@@QBEPBDXZ)
    1>cml.lib(MXml.obj) : error LNK2019: unresolved external symbol "void __stdcall _com_issue_errorex(long,struct IUnknown *,struct _GUID const &)" (?_com_issue_errorex@@YGXJPAUIUnknown@@ABU_GUID@@@Z) referenced in function "public: long __thiscall MSXML::IXMLDOMParseError::GeterrorCode(void)" (?GeterrorCode@IXMLDOMParseError@MSXML@@QAEJXZ)
    1>cml.lib(MXml.obj) : error LNK2019: unresolved external symbol "long __cdecl _com_dispatch_method(struct IDispatch *,long,unsigned short,unsigned short,void *,wchar_t const *,...)" (?_com_dispatch_method@@YAJPAUIDispatch@@JGGPAXPB_WZZ) referenced in function "public: long __thiscall MSXML::XMLDOMDocumentEvents::ondataavailable(void)" (?ondataavailable@XMLDOMDocumentEvents@MSXML@@QAEJXZ)
    1>Runtime\MatchAgent.exe : fatal error LNK1120: 5 unresolved externals
    1>
    1>Build FAILED.
    1>
    1>Time Elapsed 00:00:02.64
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Then I'm getting these errors in MatchServer:
    Code:
    1>------ Build started: Project: MatchServer, Configuration: KOR_Release_publish Win32 ------
    1>Build started 8/6/2013 7:01:36 AM.
    1>InitializeBuildStatus:
    1>  Touching "KOR_Release_publish\MatchServer.unsuccessfulbuild".
    1>ClCompile:
    1>  stdafx.cpp
    1>  _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
    1>C:\Users\Anju\Desktop\GunZ\7. Source\CML\Include\MSync.h(39): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\mcountryfilter\include\MCountryFilter.h(77): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(246) : see declaration of 'stricmp'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(107): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(125): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(143): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(169): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(171): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(194): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(246): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(265): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(284): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(304): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(324): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(344): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(363): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(383): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(402): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(425): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandCommunicator.h(56): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MServer.h(69): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MMatchObject.h(830): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MAgentObject.h(23): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MBaseGameType.h(176): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MQuestNPC.h(184): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MQuestDropTable.h(59): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MMatchStage.h(209): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MMatchStage.h(218): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MMatchStage.h(363): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MMatchShutdown.h(20): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(188) : see declaration of 'strncpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MHackingCharList.h(49): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
    1>C:\Users\Anju\Desktop\GunZ\7. Source\CSCommon\Include\MMatchServer.h(288): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>C:\Users\Anju\Desktop\GunZ\7. Source\CSCommon\Include\MMatchServer.h(290): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(8): error C2504: 'MMonitor' : base class undefined
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): error C2143: syntax error : missing ';' before '*'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): error C2433: 'MBMatchMonitor::MMonitorCommandElement' : 'virtual' not permitted on data declarations
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): error C2143: syntax error : missing ',' before '*'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): warning C4183: 'OnRequestMonitorCommandElement': missing return type; assumed to be a member function returning 'int'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(26): error C2143: syntax error : missing ',' before '*'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(27): error C2143: syntax error : missing ',' before '*'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(28): error C2143: syntax error : missing ',' before '*'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(29): error C2143: syntax error : missing ',' before '*'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(30): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(30): error C2143: syntax error : missing ',' before '*'
    1>
    1>Build FAILED.
    1>
    1>Time Elapsed 00:00:11.20
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

  8. #8
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    Re: GunZ Building Errors (Server)

    Quote Originally Posted by Anju View Post
    Alright, fixed it. Got my Locator built.

    Now I'm getting this in the MatchAgent:
    Code:
    1>------ Build started: Project: MatchAgent, Configuration: Release Win32 ------
    1>Build started 8/6/2013 6:58:28 AM.
    1>InitializeBuildStatus:
    1>  Touching "Release\MatchAgent.unsuccessfulbuild".
    1>ClCompile:
    1>  All outputs are up-to-date.
    1>  All outputs are up-to-date.
    1>ResourceCompile:
    1>  All outputs are up-to-date.
    1>CSCommon.lib(MQuestScenario.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchBuff.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MBaseChannelRule.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MQuestNPC.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MQuestMap.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MQuestDropTable.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchEvent.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MXmlParser.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MSacrificeQItemTable.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchFormula.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MBaseStringResManager.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchEventFactory.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MQuestItem.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchShutdown.obj) : error LNK2019: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z) referenced in function "public: virtual __thiscall MXmlElement::~MXmlElement(void)" (??1MXmlElement@@UAE@XZ)
    1>CSCommon.lib(MMatchShop.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchWorldItemDesc.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchItem.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchMap.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>MAgentConfig.obj : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>cml.lib(MZFileSystem.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>cml.lib(MXml.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>CSCommon.lib(MMatchServer.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
    1>cml.lib(MXml.obj) : error LNK2019: unresolved external symbol "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)" (?ConvertStringToBSTR@_com_util@@YGPA_WPBD@Z) referenced in function "public: __thiscall _bstr_t::Data_t::Data_t(char const *)" (??0Data_t@_bstr_t@@QAE@PBD@Z)
    1>cml.lib(MXml.obj) : error LNK2019: unresolved external symbol "char * __stdcall _com_util::ConvertBSTRToString(wchar_t *)" (?ConvertBSTRToString@_com_util@@YGPADPA_W@Z) referenced in function "public: char const * __thiscall _bstr_t::Data_t::GetString(void)const " (?GetString@Data_t@_bstr_t@@QBEPBDXZ)
    1>cml.lib(MXml.obj) : error LNK2019: unresolved external symbol "void __stdcall _com_issue_errorex(long,struct IUnknown *,struct _GUID const &)" (?_com_issue_errorex@@YGXJPAUIUnknown@@ABU_GUID@@@Z) referenced in function "public: long __thiscall MSXML::IXMLDOMParseError::GeterrorCode(void)" (?GeterrorCode@IXMLDOMParseError@MSXML@@QAEJXZ)
    1>cml.lib(MXml.obj) : error LNK2019: unresolved external symbol "long __cdecl _com_dispatch_method(struct IDispatch *,long,unsigned short,unsigned short,void *,wchar_t const *,...)" (?_com_dispatch_method@@YAJPAUIDispatch@@JGGPAXPB_WZZ) referenced in function "public: long __thiscall MSXML::XMLDOMDocumentEvents::ondataavailable(void)" (?ondataavailable@XMLDOMDocumentEvents@MSXML@@QAEJXZ)
    1>Runtime\MatchAgent.exe : fatal error LNK1120: 5 unresolved externals
    1>
    1>Build FAILED.
    1>
    1>Time Elapsed 00:00:02.64
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Then I'm getting these errors in MatchServer:
    Code:
    1>------ Build started: Project: MatchServer, Configuration: KOR_Release_publish Win32 ------
    1>Build started 8/6/2013 7:01:36 AM.
    1>InitializeBuildStatus:
    1>  Touching "KOR_Release_publish\MatchServer.unsuccessfulbuild".
    1>ClCompile:
    1>  stdafx.cpp
    1>  _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
    1>C:\Users\Anju\Desktop\GunZ\7. Source\CML\Include\MSync.h(39): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\mcountryfilter\include\MCountryFilter.h(77): warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(246) : see declaration of 'stricmp'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(107): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(125): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(143): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(169): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(171): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(194): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(246): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(265): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(284): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(304): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(324): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(344): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(363): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(383): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(402): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandParameter.h(425): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MCommandCommunicator.h(56): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MServer.h(69): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MMatchObject.h(830): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MAgentObject.h(23): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MBaseGameType.h(176): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MQuestNPC.h(184): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MQuestDropTable.h(59): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MMatchStage.h(209): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MMatchStage.h(218): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MMatchStage.h(363): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MMatchShutdown.h(20): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(188) : see declaration of 'strncpy'
    1>c:\users\anju\desktop\gunz\7. source\cscommon\include\MHackingCharList.h(49): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
    1>C:\Users\Anju\Desktop\GunZ\7. Source\CSCommon\Include\MMatchServer.h(288): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>C:\Users\Anju\Desktop\GunZ\7. Source\CSCommon\Include\MMatchServer.h(290): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>          c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(8): error C2504: 'MMonitor' : base class undefined
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): error C2143: syntax error : missing ';' before '*'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): error C2433: 'MBMatchMonitor::MMonitorCommandElement' : 'virtual' not permitted on data declarations
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): error C2143: syntax error : missing ',' before '*'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(10): warning C4183: 'OnRequestMonitorCommandElement': missing return type; assumed to be a member function returning 'int'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(26): error C2143: syntax error : missing ',' before '*'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(27): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(27): error C2143: syntax error : missing ',' before '*'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(28): error C2143: syntax error : missing ',' before '*'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(29): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(29): error C2143: syntax error : missing ',' before '*'
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(30): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>c:\users\anju\desktop\gunz\7. source\matchserver\MBMatchMonitor.h(30): error C2143: syntax error : missing ',' before '*'
    1>
    1>Build FAILED.
    1>
    1>Time Elapsed 00:00:11.20
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Clean project of matchserver and this is some tutorial for you:
    You have to change this setting when compiling Matchserver, locator and matchagent:
    CML->Properties->C/C++->Language->Treat WChar_t As Built in Type->No
    For GunZ set: WChar_t to Yes

    Good luck bro.

  9. #9
    In Progress... FFXIV... Anju is offline
    MemberRank
    Oct 2010 Join Date
    Mist Ward 7 #38Location
    1,946Posts

    Re: GunZ Building Errors (Server)

    Thanks for posting that. I fixed it.

    Edit: Figured out why my MatchServer disconnects from the Database.
    Last edited by Anju; 07-08-13 at 12:04 PM.



Advertisement