Log in

View Full Version : DShow filter


MrNike
23rd February 2003, 15:39
Hey there,

i try to compile the Direct Show filter which comes with XVid.

and i get the following error message :

--------------------Configuration: dshow - Win32 Debug--------------------
Compiling resources...
Compiling...
CAbout.cpp
d:\program files\dxsdk\samples\c++\directshow\baseclasses\wxutil.h(530) : error C2061: syntax error : identifier 'DWORD_PTR'
d:\program files\dxsdk\samples\c++\directshow\baseclasses\ctlutil.h(437) : error C2504: 'IBasicVideo2' : base class undefined
d:\program files\dxsdk\samples\c++\directshow\baseclasses\ctlutil.h(904) : error C2146: syntax error : missing ';' before identifier 'm_dwAdvise'

.....

errors continue ...


.....
d:\program files\dxsdk\samples\c++\directshow\baseclasses\refclock.h(121) : error C2061: syntax error : identifier 'DWORD_PTR'
d:\program files\dxsdk\samples\c++\directshow\baseclasses\sysclock.h(20) : error C2504: 'IAMClockAdjust' : base class undefined
d:\program files\dxsdk\samples\c++\directshow\baseclasses\streams.h(174) : fatal error C1083: Cannot open include file: 'audevcod.h': No such file or directory
Error executing cl.exe.

xvid.ax - 76 error(s), 2 warning(s)



i dunno whats wrong ? ... its looks like that there are errors in the DirectX Packets ?!

anyone can help ?

Greetings,

MrNike

Koepi
23rd February 2003, 15:53
You have to compile you streamlib correctly first and setup the directX-SDK so that it works (the includ epaths and so on as mentioned in the readme-docs of the SDK).

Regards
Koepi

MrNike
23rd February 2003, 16:08
ahh thx ... i missed to import the 'include' paths of dx9 ....

i m too stupid :rolleyes:

thx koepi

greetings,

MrNike

MrNike
23rd February 2003, 16:22
okok ... thats not the only error ...

i noticed that when i compile in DX9 the '\Samples\C++\DirectShow\BaseClasses' packet will result in a 'strmbasd.lib' instead of a 'strmbase.lib' ... well ... if i rename it and add it to the lib path its working.

now i get the following error ...

--------------------Configuration: dshow - Win32 Debug--------------------
Compiling resources...
Compiling...
CAbout.cpp
CXvidDecoder.cpp
STREAMS.H included TWICE
Linking...
Creating library Debug/xvid.lib and object Debug/xvid.exp
CXvidDecoder.obj : error LNK2001: unresolved external symbol "public: __thiscall CVideoTransformFilter::CVideoTransformFilter(char *,struct IUnknown *,struct _GUID const &)" (??0CVideoTransformFilter@@QAE@PADPAUIUnknown@@ABU_GUID@@@Z)
bin\xvid.ax : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

xvid.ax - 2 error(s), 0 warning(s)


i m pretty sure that i added all includes/lib path right ... so i dunno where that error is coming from :eek:

anyone knows why i get the error ?

Greetings,

MrNike