|
-
September 17th, 2005, 05:57 PM
#1
Having trouble with Directs\Show
Hello,
I am trying to make a filter for DirectShow.
My problem is with the header streams.h: the compiler cannot find the file when I include it.
I have built strmbasd.lib and linked to it (I am making a debug build).
I am using visual studio 6.0.
According to the sdk documentation, this is all that is required to use the DirectShow base classes. I am probably just forgetting something, but I have not been able to figure it out. I appreciate any help that is offered. Thank you.
-
September 19th, 2005, 05:47 AM
#2
Re: Having trouble with Directs\Show
From some unknown reasons, Microsoft keeps DirectShow stuff in separate download:
http://www.microsoft.com/downloads/d...DisplayLang=en
streams.h file can be found there.
-
September 19th, 2005, 05:07 PM
#3
Re: Having trouble with Directs\Show
Thank you very much for the reply. I do have the file streams.h but the compiler still cannot find it. The only way I can get the compiler to find it is to copy everything in the base classes directory into the local project directory.
I did an experiment to try to locate my problem but I have not found it yet. This is what I did:
I built and ran the sample project CaptureTex under "..\DXSDK\Samples\C++\DirectShow\Capture\CaptureTex\" using the .dsw included and it worked fine. Then, I put a copy of all the project files in a separate folder but built the project in a new workspace. I also linked to all of the libraries that the project originally linked to. This time it would not compile, giving me the same error about not finding streams.h.
I cannot seem to put my finger on the problem. If you have any ideas about what may be wrong, or if you think I might lack some fundamental knowledge regarding the problem, please tell me. I will take any advice at all. Thank you.
-
September 20th, 2005, 12:21 AM
#4
Re: Having trouble with Directs\Show
Add directory where stream.h is placed, to the list of VC++ include directories.
-
September 20th, 2005, 01:44 PM
#5
Re: Having trouble with Directs\Show
Thank you for your help Alex, including the directory solved my problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|