Quote:
Originally Posted by happyfirst I finally got streamingserver to compile but I took strmbasd.lib from a VC6 install since it seems the latest platform sdk doesn't include this precompiled anymore and I can't figure out how to build that basesclasses stuff. |
You'll get strmbase.lib when you compile dshowsamples.sln from platform SDK samples/multimedia. I had to change one linked file to point to dxerr9.lib instead of dxerr8.lib (Under DMO I think). After that you'll get that strmbase under C:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\Multimedia\DirectShow\Ba seClasses\Release or under that 2003 R2 dir (I used Vista SDK). Or if you're after strmbasd.lib it's under Debug-folder, dshowsamples.sln has to be built with debug settings on that case of course.
still after I got that one figured, I still can't get tsreader to compile. I'm getting exactly the same linker errors as you:
Quote:
Originally Posted by happyfirst 1> Creating library .\Debug/TsReader.lib and object .\Debug/TsReader.exp
1>AudioPin.obj : error LNK2019: unresolved external symbol "public: __thiscall CSourceStream::CSourceStream(char *,long *,class CSource *,wchar_t const *)" (??0CSourceStream@@QAE@PADPAJPAVCSource@@PB_W@Z) referenced in function "public: __thiscall CAudioPin::CAudioPin(struct IUnknown *,class CTsReaderFilter *,long *,class CCritSec *)" (??0CAudioPin@@QAE@PAUIUnknown@@PAVCTsReaderFilter @@PAJPAVCCritSec@@@Z)
1>SubtitlePin.obj : error LNK2001: unresolved external symbol "public: __thiscall CSourceStream::CSourceStream(char *,long *,class CSource *,wchar_t const *)" (??0CSourceStream@@QAE@PADPAJPAVCSource@@PB_W@Z)
1>TeletextPin.obj : error LNK2001: unresolved external symbol "public: __thiscall CSourceStream::CSourceStream(char *,long *,class CSource *,wchar_t const *)" (??0CSourceStream@@QAE@PADPAJPAVCSource@@PB_W@Z)
1>VideoPin.obj : error LNK2001: unresolved external symbol "public: __thiscall CSourceStream::CSourceStream(char *,long *,class CSource *,wchar_t const *)" (??0CSourceStream@@QAE@PADPAJPAVCSource@@PB_W@Z)
1>AudioPin.obj : error LNK2001: unresolved external symbol "protected: virtual long __stdcall CSourceStream::QueryId(wchar_t * *)" (?QueryId@CSourceStream@@MAGJPAPA_W@Z)
1>SubtitlePin.obj : error LNK2001: unresolved external symbol "protected: virtual long __stdcall CSourceStream::QueryId(wchar_t * *)" (?QueryId@CSourceStream@@MAGJPAPA_W@Z)
1>TeletextPin.obj : error LNK2001: unresolved external symbol "protected: virtual long __stdcall CSourceStream::QueryId(wchar_t * *)" (?QueryId@CSourceStream@@MAGJPAPA_W@Z)
1>VideoPin.obj : error LNK2001: unresolved external symbol "protected: virtual long __stdcall CSourceStream::QueryId(wchar_t * *)" (?QueryId@CSourceStream@@MAGJPAPA_W@Z)
1>VideoPin.obj : error LNK2001: unresolved external symbol _IID_IStreamBufferDataCounters
1>AudioPin.obj : error LNK2001: unresolved external symbol _IID_IStreamBufferDataCounters
1>SubtitlePin.obj : error LNK2001: unresolved external symbol _IID_IStreamBufferDataCounters
1>TeletextPin.obj : error LNK2001: unresolved external symbol _IID_IStreamBufferDataCounters
1>TsReader.obj : error LNK2001: unresolved external symbol _IID_IStreamBufferDataCounters
1>VideoPin.obj : error LNK2001: unresolved external symbol _IID_IStreamBufferSource
etc
etc |
so we're both doing about the same thing wrong, have you figured it out already?
EDIT, well not exactly but some of those are the same. I get 7 errors so far:
Error 62 error LNK2001: unresolved external symbol "public: virtual long __stdcall CSourceSeeking::GetTimeFormatA(struct _GUID *)" (?GetTimeFormatA@CSourceSeeking@@UAGJPAU_GUID@@@Z) AudioPin.obj
Error 63 error LNK2001: unresolved external symbol "public: virtual long __stdcall CSourceSeeking::GetTimeFormatA(struct _GUID *)" (?GetTimeFormatA@CSourceSeeking@@UAGJPAU_GUID@@@Z) SubtitlePin.obj
Error 64 error LNK2001: unresolved external symbol "public: virtual long __stdcall CSourceSeeking::GetTimeFormatA(struct _GUID *)" (?GetTimeFormatA@CSourceSeeking@@UAGJPAU_GUID@@@Z) VideoPin.obj
Error 65 error LNK2019: unresolved external symbol "protected: __thiscall CSourceSeeking::CSourceSeeking(char const *,struct IUnknown *,long *,class CCritSec *)" (??0CSourceSeeking@@IAE@PBDPAUIUnknown@@PAJPAVCCri tSec@@@Z) referenced in function "public: __thiscall CAudioPin::CAudioPin(struct IUnknown *,class CTsReaderFilter *,long *,class CCritSec *)" (??0CAudioPin@@QAE@PAUIUnknown@@PAVCTsReaderFilter @@PAJPAVCCritSec@@@Z) AudioPin.obj
Error 66 error LNK2001: unresolved external symbol "protected: __thiscall CSourceSeeking::CSourceSeeking(char const *,struct IUnknown *,long *,class CCritSec *)" (??0CSourceSeeking@@IAE@PBDPAUIUnknown@@PAJPAVCCri tSec@@@Z) SubtitlePin.obj
Error 67 error LNK2001: unresolved external symbol "protected: __thiscall CSourceSeeking::CSourceSeeking(char const *,struct IUnknown *,long *,class CCritSec *)" (??0CSourceSeeking@@IAE@PBDPAUIUnknown@@PAJPAVCCri tSec@@@Z) VideoPin.obj
Error 68 fatal error LNK1120: 2 unresolved externals Release/TsReader.ax