Streams. h and streams. Lib problems + DirectShow SDK Problems

Source: Internet
Author: User

DirectShow SDK is required for video chat recently ..

Avchat has such an instance, which requires streams. h and streams. Lib.

 

DirectShow SDK can download http://www.microsoft.com/downloads/details.aspx here? Familyid = 8af0afa9-1383-44b4-bc8b-7d6315212323 & displaylang = en

 

As for streams. h and streams. Lib, they are stored in DirectShow SDK/samples/C ++/DirectShow/baseclasses.

Compile it.

 

The problem is that vs2008 compilation fails:

The error is as follows:

Error c4430: Missing type specifier-int assumed. Note: C ++ does not support default-int

./Winutil. cpp (2104): Error c2065: 'Count': Undeclared identifier

Modify winutil. cpp:

Ctlutil. h

Operator = (long );

Change

Coareftime & operator = (long );

 

For (COUNT = pallocount; int (count) <min (palhistart, icolours); count ++ ){

Change

For (IntCount = pallocount; int (count) <min (palhistart, icolours); count ++ ){"

 

Add:

Long idone = 0; 
For (idone = 0;
Idone <nsamples | (m_nbatched! = 0 & m_bsendanyway );

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.