locked
av_upnp.lib link error RRS feed

  • Question

  • Hi, 

    I try to use UPNP AV functionalities for Windows CE 6.0 R3 on custom application developed on Visual Studio 2008 (SDK is used). The application is linked to av_upnp.lib but some methods (av_upnp::DIDL_Lite::parser::GetFirstObject, av_upnp::DIDL_Lite::object::GetProperty…) create compilation issues.

    Link error is :

    1>ControlPoint.obj : error LNK2019: unresolved external symbol "public: bool __cdecl av_upnp::DIDL_Lite::parser::GetFirstObject(wchar_t const *,struct av_upnp::DIDL_Lite::object *)" (?GetFirstObject@parser@DIDL_Lite@av_upnp@@QAA_NPB_WPAUobject@23@@Z) referenced in function "public: void __cdecl player::browse_for_each(void)" (?browse_for_each@player@@QAAXXZ)

    1>ControlPoint.obj : error LNK2019: unresolved external symbol "public: bool __cdecl av_upnp::DIDL_Lite::object::GetProperty(wchar_t const *,class ce::_string_t<wchar_t,16,struct ce::char_traits<wchar_t>,class ce::allocator> *,unsigned long)" (?GetProperty@object@DIDL_Lite@av_upnp@@QAA_NPB_WPAV?$_string_t@_W$0BA@U?$char_traits@_W@ce@@Vallocator@2@@ce@@K@Z) referenced in function "public: void __cdecl player::display(struct av_upnp::DIDL_Lite::object &)" (?display@player@@QAAXAAUobject@DIDL_Lite@av_upnp@@@Z)

    It’s seems that mangling is not the same between VS2008 and PB for VS2005 compilers.

    Have you got some information about this issue and a workaround?

     BR

    Thursday, June 24, 2010 3:53 PM

Answers