May I know the VC version of the GuruxDLMSLibServerExample ?

Hi,

After I downloaded the GuruxDLMSLibServerExample.zip from http://www.gurux.fi/index.php?q=OwnDLMSDevice, I tried to build it in Visual Studio 2010 but failed. May I know which VC version is recommended?

Sincerely thanks and looking forward to your guidance.

Following are the warning and error info FYI:

1>InitializeBuildStatus:
1> Creating “Debug\GuruxDLMSLibServerExample.unsuccessfulbuild”
1>ClCompile:
1> Deleting “Debug\GuruxDLMSLibServerExample.pch”。
1> stdafx.cpp
1> GXNet.cpp
1> GXDLMSBase.cpp
1> GuruxDLMSLibServerExample.cpp
1> Generating...
1>GuruxDLMSLib.lib(GXOBISTemplate.obj) : warning LNK4049: Imported local defined symbol ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z (public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(char const *))
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : warning LNK4217: Local defined symbol ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z (public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(char const *)) was imported at function "public: __thiscall CGXDLMSServerBase::CGXDLMSServerBase(bool,enum GXDLMS_INTERFACETYPE,unsigned short)" (??0CGXDLMSServerBase@@QAE@_NW4GXDLMS_INTERFACETYPE@@G@Z)
1>GuruxDLMSLib.lib(GXObject.obj) : warning LNK4049: Imported local defined symbol ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z (public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(char const *))
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : warning LNK4049: Imported local defined symbol ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z (public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(char const *))
1>GuruxDLMSLib.lib(GXDLMS.obj) : warning LNK4049: Imported local defined symbol ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z (public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(char const *))
1>GuruxDLMSLib.lib(GXOBISTemplate.obj) : warning LNK4049: Imported local defined symbol ??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ (public: __thiscall std::basic_string,class std::allocator >::~basic_string,class std::allocator >(void))
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : warning LNK4217: Local defined symbol ??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ (public: __thiscall std::basic_string,class std::allocator >::~basic_string,class std::allocator >(void)) was imported at function "public: __thiscall GXAuthentication::GXAuthentication(enum GXDLMS_AUTHENTICATION,class std::basic_string,class std::allocator >,class CGXDLMSVariant)" (??0GXAuthentication@@QAE@W4GXDLMS_AUTHENTICATION@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@VCGXDLMSVariant@@@Z)
1>GuruxDLMSLib.lib(GXObject.obj) : warning LNK4049: Imported local defined symbol ??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ (public: __thiscall std::basic_string,class std::allocator >::~basic_string,class std::allocator >(void))
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : warning LNK4049: Imported local defined symbol ??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ (public: __thiscall std::basic_string,class std::allocator >::~basic_string,class std::allocator >(void))
1>GuruxDLMSLib.lib(GXDLMS.obj) : warning LNK4049: Imported local defined symbol ??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ (public: __thiscall std::basic_string,class std::allocator >::~basic_string,class std::allocator >(void))
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : warning LNK4217: Local defined symbol ??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@ABV01@@Z (public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::operator=(class std::basic_string,class std::allocator > const &)) was imported at function "public: struct dlmsVARIANT & __thiscall dlmsVARIANT::operator=(struct dlmsVARIANT const &)" (??4dlmsVARIANT@@QAEAAU0@ABU0@@Z)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : warning LNK4217: Local defined symbol ??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@ABV01@@Z (public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::operator=(class std::basic_string,class std::allocator > const &)) was imported at function "public: __thiscall dlmsVARIANT::~dlmsVARIANT(void)" (??1dlmsVARIANT@@QAE@XZ)
1>GuruxDLMSLib.lib(GXDLMS.obj) : warning LNK4049: Imported local defined symbol ??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@ABV01@@Z (public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::operator=(class std::basic_string,class std::allocator > const &))
1>GuruxDLMSLib.lib(GXOBISTemplate.obj) : warning LNK4217: Local defined symbol ??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@ABV01@@Z (public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::operator=(class std::basic_string,class std::allocator > const &)) was imported at function __ehhandler$?SetData@CGXOBISTemplate@@SAHVCGXDLMSVariant@@AAV?$vector@EV?$allocator@E@std@@@std@@@Z
1>GuruxDLMSLib.lib(GXOBISTemplate.obj) : warning LNK4049: Imported local defined symbol ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z (public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(class std::basic_string,class std::allocator > const &))
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : warning LNK4217: Local defined symbol ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z (public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(class std::basic_string,class std::allocator > const &)) was imported at function "public: __thiscall dlmsVARIANT::dlmsVARIANT(struct dlmsVARIANT const &)" (??0dlmsVARIANT@@QAE@ABU0@@Z)
1>GuruxDLMSLib.lib(GXObject.obj) : warning LNK4049: Imported local defined symbol ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z (public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(class std::basic_string,class std::allocator > const &))
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : warning LNK4049: Imported local defined symbol ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z (public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(class std::basic_string,class std::allocator > const &))
1>GuruxDLMSLib.lib(GXDLMS.obj) : warning LNK4049: Imported local defined symbol ??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z (public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(class std::basic_string,class std::allocator > const &))
1>GuruxDLMSLib.lib(GXOBISTemplate.obj) : warning LNK4049: Imported local defined symbol ?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ (public: char const * __thiscall std::basic_string,class std::allocator >::c_str(void)const )
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : warning LNK4217: Local defined symbol ?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ (public: char const * __thiscall std::basic_string,class std::allocator >::c_str(void)const ) was imported at function "public: int __thiscall CGXDLMSServerBase::Initialize(void)" (?Initialize@CGXDLMSServerBase@@QAEHXZ)
1>GuruxDLMSLib.lib(GXObject.obj) : warning LNK4049: Imported local defined symbol ?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ (public: char const * __thiscall std::basic_string,class std::allocator >::c_str(void)const )
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : warning LNK4049: Imported local defined symbol ?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ (public: char const * __thiscall std::basic_string,class std::allocator >::c_str(void)const )
1>GuruxDLMSLib.lib(GXDLMS.obj) : warning LNK4049: Imported local defined symbol ?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ (public: char const * __thiscall std::basic_string,class std::allocator >::c_str(void)const )
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : warning LNK4217: Local defined symbol ?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@PBD@Z (public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::append(char const *)) was imported at function "private: int __thiscall CGXDLMSServerBase::GetCommand(unsigned char *,int,enum OBJECT_TYPE &,class CGXDLMSVariant &,int &,unsigned char * &,int &)" (?GetCommand@CGXDLMSServerBase@@AAEHPAEHAAW4OBJECT_TYPE@@AAVCGXDLMSVariant@@AAHAAPAE3@Z)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : warning LNK4049: Imported local defined symbol ?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@PBD@Z (public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::append(char const *))
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : warning LNK4217: Local defined symbol ?begin@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE?AV?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ (public: class std::_String_iterator,class std::allocator > __thiscall std::basic_string,class std::allocator >::begin(void)) was imported at function "private: int __thiscall CGXDLMSServerBase::GetCommand(unsigned char *,int,enum OBJECT_TYPE &,class CGXDLMSVariant &,int &,unsigned char * &,int &)" (?GetCommand@CGXDLMSServerBase@@AAEHPAEHAAW4OBJECT_TYPE@@AAVCGXDLMSVariant@@AAHAAPAE3@Z)
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : warning LNK4217: Local defined symbol ?end@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE?AV?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ (public: class std::_String_iterator,class std::allocator > __thiscall std::basic_string,class std::allocator >::end(void)) was imported at function "private: int __thiscall CGXDLMSServerBase::GetCommand(unsigned char *,int,enum OBJECT_TYPE &,class CGXDLMSVariant &,int &,unsigned char * &,int &)" (?GetCommand@CGXDLMSServerBase@@AAEHPAEHAAW4OBJECT_TYPE@@AAVCGXDLMSVariant@@AAHAAPAE3@Z)
1>GuruxDLMSLib.lib(GXObject.obj) : warning LNK4217: Local defined symbol ?size@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIXZ (public: unsigned int __thiscall std::basic_string,class std::allocator >::size(void)const ) was imported at function "public: int __thiscall CGXObject::SetLogicalName(class std::basic_string,class std::allocator >)" (?SetLogicalName@CGXObject@@QAEHV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : warning LNK4217: Local defined symbol ?size@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIXZ (public: unsigned int __thiscall std::basic_string,class std::allocator >::size(void)const ) was imported at function "public: int __thiscall CGXDLMSVariant::ChangeType(enum DLMS_DATA_TYPE)" (?ChangeType@CGXDLMSVariant@@QAEHW4DLMS_DATA_TYPE@@@Z)
1>GuruxDLMSLib.lib(GXDLMS.obj) : warning LNK4049: Imported local defined symbol ?size@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIXZ (public: unsigned int __thiscall std::basic_string,class std::allocator >::size(void)const )
1>GuruxDLMSLib.lib(GXOBISTemplate.obj) : warning LNK4217: Local defined symbol ?size@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIXZ (public: unsigned int __thiscall std::basic_string,class std::allocator >::size(void)const ) was imported at function "public: static char const * __cdecl CGXOBISTemplate::GetUnitAsString(int)" (?GetUnitAsString@CGXOBISTemplate@@SAPBDH@Z)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : warning LNK4217: Local defined symbol ??A?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAADI@Z (public: char & __thiscall std::basic_string,class std::allocator >::operator[](unsigned int)) was imported at function "private: static int __cdecl CGXDLMSVariant::Convert(class CGXDLMSVariant *,enum DLMS_DATA_TYPE)" (?Convert@CGXDLMSVariant@@CAHPAV1@W4DLMS_DATA_TYPE@@@Z)
1>GuruxDLMSLib.lib(GXOBISTemplate.obj) : warning LNK4049: Imported local defined symbol ??A?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAADI@Z (public: char & __thiscall std::basic_string,class std::allocator >::operator[](unsigned int))
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : warning LNK4217: Local defined symbol ?length@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIXZ (public: unsigned int __thiscall std::basic_string,class std::allocator >::length(void)const ) was imported at function "private: static int __cdecl CGXDLMSVariant::Convert(class CGXDLMSVariant *,enum DLMS_DATA_TYPE)" (?Convert@CGXDLMSVariant@@CAHPAV1@W4DLMS_DATA_TYPE@@@Z)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : warning LNK4217: Local defined symbol ??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@PBD@Z (public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::operator=(char const *)) was imported at function "private: static int __cdecl CGXDLMSVariant::Convert(class CGXDLMSVariant *,enum DLMS_DATA_TYPE)" (?Convert@CGXDLMSVariant@@CAHPAV1@W4DLMS_DATA_TYPE@@@Z)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : warning LNK4217: Local defined symbol ?clear@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXXZ (public: void __thiscall std::basic_string,class std::allocator >::clear(void)) was imported at function "public: void __thiscall CGXDLMSVariant::Clear(void)" (?Clear@CGXDLMSVariant@@QAEXXZ)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : warning LNK4217: Local defined symbol ?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@ABV12@@Z (public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::append(class std::basic_string,class std::allocator > const &)) was imported at function "public: __thiscall CGXDLMSVariant::CGXDLMSVariant(class CGXDLMSVariant *)" (??0CGXDLMSVariant@@QAE@PAV0@@Z)
1>GuruxDLMSLib.lib(GXOBISTemplate.obj) : warning LNK4217: Local defined symbol ?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@PBDI@Z (public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::append(char const *,unsigned int)) was imported at function "public: static int __cdecl CGXOBISTemplate::GetData(unsigned char * &,int &,enum DLMS_DATA_TYPE,class CGXDLMSVariant &,int *,int *,int *)" (?GetData@CGXOBISTemplate@@SAHAAPAEAAHW4DLMS_DATA_TYPE@@AAVCGXDLMSVariant@@PAH44@Z)
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(struct std::basic_string,class std::allocator >::_Has_debug_it)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@U_Has_debug_it@01@@Z),the symbol was referenced at "public: __thiscall GXAuthentication::GXAuthentication(enum GXDLMS_AUTHENTICATION,class std::basic_string,class std::allocator >,class CGXDLMSVariant)" (??0GXAuthentication@@QAE@W4GXDLMS_AUTHENTICATION@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@VCGXDLMSVariant@@@Z)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string,class std::allocator >::basic_string,class std::allocator >(struct std::basic_string,class std::allocator >::_Has_debug_it)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@U_Has_debug_it@01@@Z)
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_string,class std::allocator >::push_back(char)" (__imp_?push_back@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXD@Z),the symbol was referenced in "private: int __thiscall CGXDLMSServerBase::GetCommand(unsigned char *,int,enum OBJECT_TYPE&,class CGXDLMSVariant &,int &,unsigned char * &,int &)" (?GetCommand@CGXDLMSServerBase@@AAEHPAEHAAW4OBJECT_TYPE@@AAVCGXDLMSVariant@@AAHAAPAE3@Z)
1>GuruxDLMSLib.lib(GXOBISTemplate.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ)
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ),the symbol was referenced in "public: class std::vector > & __thiscall std::vector >::operator=(class std::vector > const &)" (??4?$vector@EV?$allocator@E@std@@@std@@QAEAAV01@ABV01@@Z)
1>GuruxDLMSLib.lib(GXObject.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ)
1>GuruxDLMSLib.lib(GXDLMS.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " (__imp_?_Orphan_all@_Container_base_secure@std@@QBEXXZ)
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_String_base::~_String_base(void)" (__imp_??1_String_base@std@@QAE@XZ),the symbol was referenced in "public: __thiscall std::_String_val >::~_String_val >(void)" (??1?$_String_val@EV?$allocator@E@std@@@std@@QAE@XZ)
1>GuruxDLMSLib.lib(GXOBISTemplate.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" (__imp_??1_Container_base_secure@std@@QAE@XZ),the symbol was referenced in "class CGXDLMSVariant * __cdecl stdext::unchecked_copy(class CGXDLMSVariant *,class CGXDLMSVariant *,class CGXDLMSVariant *)" (??$unchecked_copy@PAVCGXDLMSVariant@@PAV1@@stdext@@YAPAVCGXDLMSVariant@@PAV1@00@Z)
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" (__imp_??1_Container_base_secure@std@@QAE@XZ)
1>GuruxDLMSLib.lib(GXObject.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" (__imp_??1_Container_base_secure@std@@QAE@XZ)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" (__imp_??1_Container_base_secure@std@@QAE@XZ)
1>GuruxDLMSLib.lib(GXDLMS.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" (__imp_??1_Container_base_secure@std@@QAE@XZ)
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_String_base::_String_base(void)" (__imp_??0_String_base@std@@QAE@XZ),the symbol was referenced in "protected: __thiscall std::_String_val >::_String_val >(class std::allocator)" (??0?$_String_val@EV?$allocator@E@std@@@std@@IAE@V?$allocator@E@1@@Z)
1>GuruxDLMSLib.lib(GXOBISTemplate.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" (__imp_??0_Container_base_secure@std@@QAE@XZ)
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" (__imp_??0_Container_base_secure@std@@QAE@XZ),the symbol was referenced in "protected: __thiscall std::_Container_base_aux_alloc_empty >::_Container_base_aux_alloc_empty >(class std::allocator)" (??0?$_Container_base_aux_alloc_empty@V?$allocator@E@std@@@std@@IAE@V?$allocator@E@1@@Z)
1>GuruxDLMSLib.lib(GXObject.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" (__imp_??0_Container_base_secure@std@@QAE@XZ)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" (__imp_??0_Container_base_secure@std@@QAE@XZ)
1>GuruxDLMSLib.lib(GXDLMS.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" (__imp_??0_Container_base_secure@std@@QAE@XZ)
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl std::_String_base::_Xran(void)" (__imp_?_Xran@_String_base@std@@SAXXZ),the symbol was referenced in "public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::assign(class std::basic_string,class std::allocator > const &,unsigned int,unsigned int)" (?assign@?$basic_string@EU?$char_traits@E@std@@V?$allocator@E@2@@std@@QAEAAV12@ABV12@II@Z)
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl std::_String_base::_Xlen(void)" (__imp_?_Xlen@_String_base@std@@SAXXZ),the symbol was referenced in "protected: bool __thiscall std::basic_string,class std::allocator >::_Grow(unsigned int,bool)" (?_Grow@?$basic_string@EU?$char_traits@E@std@@V?$allocator@E@2@@std@@IAE_NI_N@Z)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall std::basic_string,class std::allocator >::compare(char const *)const " (__imp_?compare@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEHPBD@Z),the symbol was referenced in "private: static int __cdecl CGXDLMSVariant::Convert(class CGXDLMSVariant *,enum DLMS_DATA_TYPE)" (?Convert@CGXDLMSVariant@@CAHPAV1@W4DLMS_DATA_TYPE@@@Z)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::operator+=(char const *)" (__imp_??Y?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@PBD@Z),the symbol was referenced in "private: static int __cdecl CGXDLMSVariant::Convert(class CGXDLMSVariant *,enum DLMS_DATA_TYPE)" (?Convert@CGXDLMSVariant@@CAHPAV1@W4DLMS_DATA_TYPE@@@Z)
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string,class std::allocator > & __thiscall std::basic_string,class std::allocator >::operator+=(class std::basic_string,class std::allocator > const &)" (__imp_??Y?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV01@ABV01@@Z),the symbol was referenced in "private: static int __cdecl CGXDLMSVariant::Convert(class CGXDLMSVariant *,enum DLMS_DATA_TYPE)" (?Convert@CGXDLMSVariant@@CAHPAV1@W4DLMS_DATA_TYPE@@@Z)
1>GuruxDLMSLib.lib(GXDLMS.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Swap_aux(class std::_Container_base_secure &)" (__imp_?_Swap_aux@_Container_base_secure@std@@QAEXAAV12@@Z),the symbol was referenced in "public: void __thiscall std::vector >::swap(class std::vector > &)" (?swap@?$vector@EV?$allocator@E@std@@@std@@QAEXAAV12@@Z)
1>GuruxDLMSLib.lib(GXDLMS.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Swap_all(class std::_Container_base_secure &)const " (__imp_?_Swap_all@_Container_base_secure@std@@QBEXAAV12@@Z),the symbol was referenced in "public: void __thiscall std::vector >::swap(class std::vector > &)" (?swap@?$vector@EV?$allocator@E@std@@@std@@QAEXAAV12@@Z)
1>C:\Gurux\GuruxDLMSLibServerExample\Debug\GuruxDLMSLibServerExample.exe : fatal error LNK1120: 14 unresolved external command
1>
1>Generation failed.
1>

Kurumi's picture

Hi,

We are using 2008. We will check this with 2010 ASAP.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Kurumi's picture

Hi,

We have updated the example. Now VS 2010 is also supported. Make sure that you link right lib or you get errrors.

Libraries are:
GuruxDLMSLib_2008.lib for VS 2008
GuruxDLMSLib_2010.lib for VS 2010.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Hi,

From where can I get the library GuruxDLMSLib_2010.lib please let me know.

Administrator's picture

Hi,

New version is updated. You can download it.
http://www.gurux.org/files/GuruxDLMSLibServerExample.zip

Gurux Administrator