[Live-devel] VS8 linker problem

Christopher Köhnen Christopher.Koehnen at iem.fh-friedberg.de
Fri Jun 22 10:36:48 PDT 2007


Hi,

my name is Christopher and I am trying to integrate RTP functionality 
from your liveMedia implementation into a DirectShow filter using 
Microsoft Visual Studio 2005 and latest Windows SDK.

To give it a first try I created an empty DS filter and copied the code 
from the MPEG2TransportStreamer there, without calling it.

Now, when I compile my filter, it gives me several linker errors, most 
of them related to the ::createNew methods of the Factory classes, e.g. 
RTCPInstance::createNew(...

Just for testing purposes I tried to make the constructor of this class 
also public and used it directly, instead of calling createNew(..., and 
this worked fine! No linker error like this any more. This shows me, 
that the lib is linked correctly, as I can call other methods from 
there. So, what goes wrong? I know, that's not the way it should work, 
but can anyone give me a hint how to solve this, please?
See below the error message from the linker.

Regards
Christopher

error LNK2019: unresolved external symbol ""public: static class 
RTCPInstance * __stdcall RTCPInstance::createNew(class UsageEnvironment 
&,class Groupsock *,unsigned int,unsigned char const *,class RTPSink 
*,class RTPSource const *,unsigned int)" 
(?createNew at RTCPInstance@@SGPAV1 at AAVUsageEnvironment@@PAVGroupsock@@IPBEPAVRTPSink@@PBVRTPSource@@I at Z)" 
in function ""int __stdcall RTPmain(int,char * *)" (?RTPmain@@YGHHPAPAD at Z)".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20070622/39688246/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Christopher.Koehnen.vcf
Type: text/x-vcard
Size: 451 bytes
Desc: not available
Url : http://lists.live555.com/pipermail/live-devel/attachments/20070622/39688246/attachment.vcf 


More information about the live-devel mailing list