Before commenting read Forum rules
Don't comment the topic if you have a new question.
You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.
Before commenting read Forum rules
Don't comment the topic if you have a new question.
You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.
Hi,
After I downloaded the GuruxDLMSLibServerExample.zip from http://www.gurux.fi//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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string
1>GuruxDLMSLib.lib(GXDLMSServerBase.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::basic_string
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
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
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
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
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
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
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
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall std::basic_string
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string
1>GuruxDLMSLib.lib(GXDLMSVariant.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string
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
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
1>C:\Gurux\GuruxDLMSLibServerExample\Debug\GuruxDLMSLibServerExample.exe : fatal error LNK1120: 14 unresolved external command
1>
1>Generation failed.
1>
May I know the VC version of the GuruxDLMSLibServerExample ?
Hi,
We are using 2008. We will check this with 2010 ASAP.
BR,
Mikko
May I know the VC version of the GuruxDLMSLibServerExample ?
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
GuruxDLMSLib_2010.lib where to get?
Hi,
From where can I get the library GuruxDLMSLib_2010.lib please let me know.
GuruxDLMSLib_2010.lib
Hi,
New version is updated. You can download it.
http://www.gurux.org/files/GuruxDLMSLibServerExample.zip