[Live-devel] compilation error

Guillaume Larignon guillaume.larignon at tiveo.fr
Thu Nov 18 10:58:49 PST 2004


Thanks for your answers.
I don't understand because I redefined these two functions and the compiler seems to ignore them.
However, I think these two functions are my problem...
I hadn't got any problem for other classes I made, that's weird.
All suggestions are welcomed !

Thanks,

Guillaume
  ----- Original Message ----- 
  From: Kohler, Jeffrey 
  To: LIVE.COM Streaming Media - development & use 
  Sent: Wednesday, November 17, 2004 5:43 PM
  Subject: RE: [Live-devel] compilation error


  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live.com/pipermail/live-devel/attachments/20041118/df2e22ab/attachment.html


More information about the live-devel mailing list