DirectShow download and install configurations

Source: Internet
Author: User

After the directx9.0 SDK development environment is installed, the related streams. h call fails.

1) install DirectX SDK
2) Open baseclasses. DSW in the samples/C ++/DirectShow/baseclasses directory for compilation.
3) add
C:/dxsdk/include
C:/dxsdk/samples/C ++/DirectShow/baseclasses
C:/dxsdk/samples/C ++/common/include
C:/program files/Microsoft Visual Studio/vc98/include
C:/program files/Microsoft Visual Studio/vc98/mfc/include
C:/program files/Microsoft Visual Studio/vc98/ATL/include

C:/dxsdk/lib
C:/dxsdk/samples/C ++/DirectShow/baseclasses/debug
C:/program files/Microsoft SDK/lib
C:/program files/Microsoft Visual Studio/vc98/lib
C:/program files/Microsoft Visual Studio/vc98/mfc/lib

4) before compiling your project, add strmbasd. Lib UUID. Lib winmm. lib to the project/setting/link /.

 

Configuration problems [note]
1. The paths of include and Lib must be arranged in strict order. Otherwise
1.1 dxsdk/include and vc98/include have header file names with duplicate names, such as control. h and strmif. h. Therefore, the file declaration of dxsdk should be prioritized.
2.1 The order in which dxsdk/lib and vc98/lib declare the dword_ptr data type is different from that in the compiled connection !!!!

2. Baseclasses/debug and baseclasses/release directories and directories do not contain any content.ProgramThe class, function, filter, and interface in baseclasses are used. You must first compile baseclasses with VC. DSW, select debug and release respectively during compilation, because baseclasses. DSW has four versions and is not debug or release by default. Two important files are generated after compilation: strmbasd. Lib (Debug) and strmbase. Lib (release), which will be used later.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.