directShow编译的问题,小弟在编译一个例子,通不过!请大家帮忙
--------------------Configuration: ds - Win32 Debug--------------------
Compiling...
CaptureVideo.cpp
d:\myapp\ds\capturevideo.cpp(1) : warning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
c:\dxsdk\include\strmif.h(1018) : error C2146: syntax error : missing ';' before identifier 'HSEMAPHORE'
c:\dxsdk\include\strmif.h(1018) : fatal error C1004: unexpected end of file found
ds.cpp
d:\myapp\ds\ds.cpp(4) : warning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
c:\dxsdk\include\strmif.h(1018) : error C2146: syntax error : missing ';' before identifier 'HSEMAPHORE'
c:\dxsdk\include\strmif.h(1018) : fatal error C1004: unexpected end of file found
dsDlg.cpp
d:\myapp\ds\dsdlg.cpp(4) : warning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
c:\dxsdk\include\strmif.h(1018) : error C2146: syntax error : missing ';' before identifier 'HSEMAPHORE'
c:\dxsdk\include\strmif.h(1018) : fatal error C1004: unexpected end of file found
Generating Code...
Error executing cl.exe.
例子的连接:http://www.programfan.com/article/showarticle.asp?id=2868
请大家一定给与帮忙!