-
April 25th, 2005, 11:59 AM
#1
Why can't find the file "streams.h"
I download the source code of DirectShow capture application(AMCap) ,and when I compile it,there is always a fatal error:can't find the file "streams.h".It also happenes when I compile other codes about DirectShow.
Why?!Need some DDK or....?
Last edited by yeetins; April 25th, 2005 at 12:01 PM.
-
April 25th, 2005, 12:02 PM
#2
Re: Why can't find the file "streams.h"
Just a guess but if you want file streams, #include <fstream> and if you want io do a #include <iostream>. The #include <*.h> is depreciated, so don't add the .h extension for includes.
-
April 26th, 2005, 03:50 PM
#3
Re: Why can't find the file "streams.h"
I dont know what samples your working with or anything but I know that streams.h ships with some versions of the DirectX SDK and is used in some of the samples provided with that version of the SDK cant remember off hand wich version of the DirectX SDK includes the DirectShow SDK ..
As I recall they did come seperately at one point
-
April 26th, 2005, 11:22 PM
#4
Re: Why can't find the file "streams.h"
You need to make sure that the direct show base classes library is included in your paths.
Go to (in Dev Studio 2002 and above) Tools/Options and select the Projects/ VC++ Directories like here :
http://www.codeguru.com/dbfiles/get_...PG&ds=20050401
Change the drop down to "Include Files" and add "C:\DXSDK\Samples\C++\DirectShow\BaseClasses" (or wherever your DirectX SDK install is) at the bottom.
It should find the files now.
Darwen.
-
April 30th, 2005, 04:14 PM
#5
Re: Why can't find the file "streams.h"
maby u have the header file but not the *.obj file which is the compiled code .
EshFire.
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
|