Donate Share

Platinum UPnP

Tracker: Bugs

5 Linking error with PLT_UPnP - ID: 2668844
Last Update: Comment added ( c0diq )

I have craeted an application targetted for mobile devices. I am using the
PLT_UPnP class respectively and it compiles, but it causes trouble with the
linker.

1>UPnPServer.obj : error LNK2019: unresolved external symbol "public:
__cdecl PLT_UPnP::~PLT_UPnP(void)" (??1PLT_UPnP@@QAA@XZ) referenced in
function "public: void * __cdecl PLT_UPnP::`scalar deleting
destructor'(unsigned int)" (??_GPLT_UPnP@@QAAPAXI@Z)
1>UPnPServer.obj : error LNK2019: unresolved external symbol "public:
__cdecl PLT_UPnP::PLT_UPnP(unsigned int,bool)" (??0PLT_UPnP@@QAA@I_N@Z)
referenced in function "public: bool __cdecl UPnPServer::initialize(void)"
(?initialize@UPnPServer@@QAA_NXZ)
1>Windows Mobile 6 Professional SDK (ARMV4I)\Debug\UPnPFindMFC.exe : fatal
error LNK1120: 2 unresolved externals

It finds the Platinum.lib file, which I have included with an absolute path
just to be sure, but it does not find the symbol in the library.

Secondly, I have also tried to setup project dependencies, but that didn't
work either. Below you find a snippet containing the parameters used by the
linker.

-- snip --
/VERBOSE:LIB /OUT:"Windows Mobile 6 Professional SDK
(ARMV4I)\Debug\UPnPFindMFC.exe" /INCREMENTAL /NOLOGO
/LIBPATH:"..\Server\av_upnp_ctrl\Lib"
/LIBPATH:"C:\Mobile\Platinum\Build\Targets\x86-microsoft-win32-vs2008\Plati
num\Debug"
/LIBPATH:"..\..\Platinum\thirdparty\neptune\build\targets\x86-microsoft-win
32-vs2008\neptune\debug" /MANIFEST:NO /NODEFAULTLIB:"oldnames.lib" /DEBUG
/PDB:"c:\Mobile\Pervasive2008\UPnPFindMFC\Windows Mobile 6 Professional SDK
(ARMV4I)\Debug\UPnPFindMFC.pdb" /STACK:65536,4096
/ENTRY:"WinMainCRTStartup" /DYNAMICBASE:NO /ERRORREPORT:PROMPT Uuid.lib
av_upnp.lib libcmtd.lib platinum.lib neptune.lib ole32.lib oleaut32.lib
uuid.lib
-- snip --

I hope for a soon reply on this.

Thanks in advance.



Nobody/Anonymous ( nobody ) - 2009-03-06 17:05

5

Open

None

Nobody/Anonymous

Interface (example)

None

Public


Comment ( 1 )




Date: 2009-10-21 09:03
Sender: c0diqProject AdminAccepting Donations

Do you still have the issue?


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.