[Live-devel] compilation error
shen zhao
zhaoshengkui9 at yahoo.com
Wed Nov 17 19:15:30 PST 2004
Is there any virtual function in
"OnDemandSeverMediaSubsession" you forget to implement
it?
--- "Kohler, Jeffrey" <J.Kohler at techsmith.com> wrote:
> That's a pretty standard C++ compilation error.
>
>
>
> The base class you're deriving from is declaring
> some functions but
> isn't defining any implementations for them. In
> order for you to derive
> from that class, you need to provide your own
> implementations of those
> functions.
>
>
>
> The lines right below "due to following members"
> should tell you what
> functions you need to implement.
>
>
>
> Looking at OnDemandSeverMediaSubsession.hh it looks
> like the two
> functions you need are:
>
> createNewStreamSource() and
> createNewRTPSink
>
>
>
> -----Original Message-----
> From: live-devel-bounces at ns.live.com
> [mailto:live-devel-bounces at ns.live.com] On Behalf Of
> Guillaume Larignon
> Sent: Wednesday, November 17, 2004 11:22 AM
> To: LIVE.COM Streaming Media - development & use
> Subject: [Live-devel] compilation error
>
>
>
> Hi,
>
> I tried to make a class which inherit livemedia
> OnDemandServerMediaSubsession class.
>
> I define a static function createNew which call the
> constructor, like in
> a lot of LiveMedia classes.
>
> When I try to compile, the following errors occur :
>
>
>
> error C2259: 'MJPEGOnDemandServerMediaSubsession' :
> cannot instantiate
> abstract class due to following members:
>
>
>
> I made a lot of test, but this error remains.
>
> Has anybody ever had this kind of error ?
>
>
>
> Thanks,
>
>
>
> Guillaume
>
> > _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
>
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
More information about the live-devel
mailing list