Bot Metin2 Dev 4874 Posted November 30, 2014 Bot Share Posted November 30, 2014 Hi, I have a problem with build novaline client (novaline/Srcs/Client/Metin2Client_VC90.sln) Im using VS2010 Here is errors: Error 1 error C2664: 'std::forward' : cannot convert parameter 1 from '' to '&' c:Program Files (x86)Microsoft Visual Studio 10.0VCincludeutility 246 1 UserInterface Error 2 error C2664: 'std::forward' : cannot convert parameter 1 from '' to '&' c:Program Files (x86)Microsoft Visual Studio 10.0VCincludeutility 246 1 UserInterface Error 3 error C2664: 'std::forward' : cannot convert parameter 1 from '' to '&' c:Program Files (x86)Microsoft Visual Studio 10.0VCincludeutility 246 1 UserInterface Error 4 error C2664: 'std::forward' : cannot convert parameter 1 from '' to '&' c:Program Files (x86)Microsoft Visual Studio 10.0VCincludeutility 246 1 UserInterface Error 5 error C2664: 'std::forward' : cannot convert parameter 1 from '' to '&' c:Program Files (x86)Microsoft Visual Studio 10.0VCincludeutility 246 1 UserInterface Error 6 error C2664: 'std::forward' : cannot convert parameter 1 from '' to '&' c:Program Files (x86)Microsoft Visual Studio 10.0VCincludeutility 246 1 UserInterface Error 7 error C2664: 'std::forward' : cannot convert parameter 1 from '' to '&' c:Program Files (x86)Microsoft Visual Studio 10.0VCincludeutility 246 1 UserInterface Error 8 error C2664: 'std::forward' : cannot convert parameter 1 from '' to '&' c:Program Files (x86)Microsoft Visual Studio 10.0VCincludeutility 246 1 UserInterface Error 9 error C2664: 'std::forward' : cannot convert parameter 1 from '' to '&' c:Program Files (x86)Microsoft Visual Studio 10.0VCincludeutility 246 1 UserInterface Error 10 error C2664: 'std::forward' : cannot convert parameter 1 from '' to '&' c:Program Files (x86)Microsoft Visual Studio 10.0VCincludeutility 246 1 UserInterface Error 11 error C2664: 'std::forward' : cannot convert parameter 1 from '' to '&' c:Program Files (x86)Microsoft Visual Studio 10.0VCincludeutility 246 1 UserInterface Error 12 error C2664: 'std::forward' : cannot convert parameter 1 from '' to '&' c:Program Files (x86)Microsoft Visual Studio 10.0VCincludeutility 246 1 UserInterface Error 13 error C2664: 'std::forward' : cannot convert parameter 1 from '' to '&' c:Program Files (x86)Microsoft Visual Studio 10.0VCincludeutility 246 1 UserInterface Thanks for your answers. Link to comment Share on other sites More sharing options...
Zeta 11 Posted November 30, 2014 Share Posted November 30, 2014 Have you installed service pack 1 for visual studio 10? Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted November 30, 2014 Author Bot Share Posted November 30, 2014 (edited) Yes, I have. Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium Sanchez 2465 Posted November 30, 2014 Premium Share Posted November 30, 2014 If you're trying to compile with v100 toolset, you have to change the inserts in the CPythonSkill::CPythonSkill() like this: m_SkillTypeIndexMap.insert(std::map<std::string, DWORD>::value_type("none", SKILL_TYPE_NONE)); -> m_SkillTypeIndexMap.insert(std::map<std::string, DWORD>::value_type(std::string("none"), SKILL_TYPE_NONE)); Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted November 30, 2014 Author Bot Share Posted November 30, 2014 Thanks for your reply. Should I replace only m_SkillTypeIndexMap? Link to comment Share on other sites More sharing options...
Premium Sanchez 2465 Posted November 30, 2014 Premium Share Posted November 30, 2014 m_SkillTypeIndexMap, m_SkillAttributeIndexMap, m_SkillNeedWeaponIndexMap Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted November 30, 2014 Author Bot Share Posted November 30, 2014 Problem solved. But Error 3 error LNK1104: cannot open file 'python22.lib' C:UsersFilipDesktopSourcesnovalineSrcsClientUserInterfaceLINK UserInterface I don't know, where python22.lib in novaline should be, I cant find him. Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted November 30, 2014 Author Bot Share Posted November 30, 2014 Okay, okay.. I find this here http://metin2dev.org/board/topic/245-howtocompile-client-binary/?p=2613 But now I have this problem. Error 45 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ) C:UsersFilipDesktopSourcesnovalineSrcsClientUserInterfacecryptlib-5.6.1MTd.lib(cast.obj) UserInterface Link to comment Share on other sites More sharing options...
Premium Sanchez 2465 Posted November 30, 2014 Premium Share Posted November 30, 2014 You have to recompile cryptopp with v100 toolset. Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted November 30, 2014 Author Bot Share Posted November 30, 2014 What is it? Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted December 1, 2014 Author Bot Share Posted December 1, 2014 I find it, its novaline/Srcs/Extern/cryptopp/cryptlib.2008.vls But still I have the same error. Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted December 1, 2014 Author Bot Share Posted December 1, 2014 I did all for new, I builded client and cryptopp in release mode. I have this problem now. Error 1 error C1083: Cannot open include file: 'Python-2.2/python.h': No such file or directory c:usersfilipdesktopsrcnovalinesrcsclientscriptLibStdAfx.h 12 1 gamelib Error 2 error C1083: Cannot open include file: 'Python-2.2/python.h': No such file or directory c:usersfilipdesktopsrcnovalinesrcsclientscriptLibStdAfx.h 12 1 gamelib Error 3 error C1083: Cannot open include file: 'Python-2.2/python.h': No such file or directory c:usersfilipdesktopsrcnovalinesrcsclientscriptLibStdAfx.h 12 1 gamelib Error 4 error C1083: Cannot open include file: 'Python-2.2/python.h': No such file or directory c:usersfilipdesktopsrcnovalinesrcsclientscriptLibStdAfx.h 12 1 gamelib Error 5 error C1083: Cannot open include file: 'Python-2.2/python.h': No such file or directory c:usersfilipdesktopsrcnovalinesrcsclientScriptLibStdAfx.h 12 1 eterPythonLib Error 6 error C1083: Cannot open include file: 'Python-2.2/python.h': No such file or directory c:usersfilipdesktopsrcnovalinesrcsclientscriptLibStdAfx.h 12 1 PRTerrainLib Error 7 error C1083: Cannot open include file: 'Python-2.2/python.h': No such file or directory c:usersfilipdesktopsrcnovalinesrcsclientScriptLibStdAfx.h 12 1 UserInterface Can anybody help me, thanks. Link to comment Share on other sites More sharing options...
Berdinard 13 Posted December 1, 2014 Share Posted December 1, 2014 Add to include_stuff a folder with name Python-2.2 and go to /src/novaline/Tools/WorldEditor/include/Python2.2 and copy the files to Python-2.2 folder of include_stuff. Sorry for my bad english. Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted December 2, 2014 Author Bot Share Posted December 2, 2014 Add to include_stuff a folder with name Python-2.2 and go to /src/novaline/Tools/WorldEditor/include/Python2.2 and copy the files to Python-2.2 folder of include_stuff. Sorry for my bad english. Hi man, thanks for your reply! I found Pyton-2.2 folder only here: srcnovalineSrcsClientScriptLibPython-2.2 In /src/novaline/Tools/WorldEditor I dont have include folder. Are you sure with WorldEdit folder, when I want compile client? Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted December 2, 2014 Author Bot Share Posted December 2, 2014 Message duplicated. Link to comment Share on other sites More sharing options...
Berdinard 13 Posted December 2, 2014 Share Posted December 2, 2014 Sorry, go to novaline/Srcs/Tools/WorldEditor/extern/include/Python-2.2 Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted December 2, 2014 Author Bot Share Posted December 2, 2014 Okay, maybe is here a problem. I dont include files in VS2010. I look here http://metin2dev.org/board/topic/245-howtocompile-client-binary/, but here is tutorial only for VS2008. Do you know how to include that directories in VS2010? Link to comment Share on other sites More sharing options...
Berdinard 13 Posted December 2, 2014 Share Posted December 2, 2014 (edited) I compile with vs2013. So I do not know. In VS2013 right click on CWebBrowser for example, then Properties, then go to VC++ Directories. Screen: https://metin2.download/picture/nLyB4xqN8ix1LiRJhx76gIAnd659TqgG/.png Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted December 2, 2014 Author Bot Share Posted December 2, 2014 Okay, I did it. Now I have this erroes: Error 3 error LNK2001: unresolved external symbol "int __cdecl Ymir_WideCharToMultiByte(unsigned int,unsigned long,wchar_t const *,int,char *,int,char const *,int *)" (?Ymir_WideCharToMultiByte@@YAHIKPB_WHPADHPBDPAH@Z) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfaceeterlib.lib(GrpTextInstance.obj) UserInterface Error 4 error LNK2001: unresolved external symbol "wchar_t __cdecl Arabic_ConvSymbol(wchar_t)" (?Arabic_ConvSymbol@@YA_W_W@Z) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfaceeterlib.lib(GrpTextInstance.obj) UserInterface Error 5 error LNK2001: unresolved external symbol "bool __cdecl Arabic_IsInPresentation(wchar_t)" (?Arabic_IsInPresentation@@YA_N_W@Z) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfaceeterlib.lib(GrpTextInstance.obj) UserInterface Error 6 error LNK2001: unresolved external symbol "bool __cdecl Arabic_HasPresentation(wchar_t *,int)" (?Arabic_HasPresentation@@YA_NPA_WH@Z) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfaceeterlib.lib(GrpTextInstance.obj) UserInterface Error 7 error LNK2001: unresolved external symbol "bool __cdecl Arabic_IsInSymbol(wchar_t)" (?Arabic_IsInSymbol@@YA_N_W@Z) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfaceeterlib.lib(GrpTextInstance.obj) UserInterface Error 8 error LNK2001: unresolved external symbol "unsigned int __cdecl Arabic_MakeShape(wchar_t *,unsigned int,wchar_t *,unsigned int)" (?Arabic_MakeShape@@YAIPA_WI0I@Z) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfaceeterlib.lib(GrpTextInstance.obj) UserInterface Error 9 error LNK2001: unresolved external symbol "int __cdecl Ymir_MultiByteToWideChar(unsigned int,unsigned long,char const *,int,wchar_t *,int)" (?Ymir_MultiByteToWideChar@@YAHIKPBDHPA_WH@Z) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfaceeterlib.lib(GrpTextInstance.obj) UserInterface Error 10 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfacecryptlib-5.6.1MT.lib(cryptlib.obj) UserInterface Error 11 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfacecryptlib-5.6.1MT.lib(cryptlib.obj) UserInterface Error 12 error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfacecryptlib-5.6.1MT.lib(integer.obj) UserInterface Error 13 error LNK2001: unresolved external symbol "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfacecryptlib-5.6.1MT.lib(integer.obj) UserInterface Error 14 error LNK1120: 11 unresolved externals C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfaceReleasemetin2client.exe UserInterface Link to comment Share on other sites More sharing options...
Berdinard 13 Posted December 2, 2014 Share Posted December 2, 2014 For solve this error Error 10 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfacecryptlib-5.6.1MT.lib(cryptlib.obj) UserInterface Error 11 error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfacecryptlib-5.6.1MT.lib(cryptlib.obj) UserInterface Error 12 error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfacecryptlib-5.6.1MT.lib(integer.obj) UserInterface Error 13 error LNK2001: unresolved external symbol "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z) C:UsersFilipDesktopsrcnovalineSrcsClientUserInterfacecryptlib-5.6.1MT.lib(integer.obj) UserInterface Put this files in lib_stuff folder. https://mega.co.nz/#!UBUxwTJJ!dKt7k4t4cO6HcsxJVMIno_rOgpO9Me_yij_tTSZUC30 Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted December 2, 2014 Author Bot Share Posted December 2, 2014 Still the same problem. Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted December 3, 2014 Author Bot Share Posted December 3, 2014 UP Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4874 Posted December 5, 2014 Author Bot Share Posted December 5, 2014 UP Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now