Issue with build of MFT samples

1>------ Build started: Project: MF_BasicPlayback, Configuration: Debug Win32 ------
1>Compiling...
1>Player.cpp
1>C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\rpcndr.h(33) : fatal error C1189: #error : incorrect <rpcndr.h> version. Use the header that matches with the MIDL compiler.
1>winmain.cpp
1>C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\rpcndr.h(33) : fatal error C1189: #error : incorrect <rpcndr.h> version. Use the header that matches with the MIDL compiler.
1>Generating Code...
1>Compiling...
1>Utils.cpp
1>Generating Code...
1>Build log was saved at "file://c:\MFSDK\Samples\BasicPlayback\Debug\BuildLog.htm"
1>MF_BasicPlayback - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Do I need to install some other SDK

My environment is

VS 8.050727.42

Vista Build5520



Answer this question

Issue with build of MFT samples

  • -D-

    You need to use the header files that come with the Windows SDK for Vista. By default the path is:

    [root]\Program Files\Microsoft SDKs\Windows\v6.0\Include\

    (unless you selected another path when you installed)

    ----------------------------------------------------------------------------
    Mike Wasson, DirectShow SDK Documentation
    This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use.

    (c) 2006 Microsoft Corporation. All rights reserved.



  • Issue with build of MFT samples