是在option->project->VC++ directory里面的,加入的内容如下
Include file加入
C:\DXSDK\Include
C:\DXSDK\Samples\C++\DirectShow\BaseClasses
选择lib加入
C:\DXSDK\Lib
C:\DXSDK\Samples\C++\DirectShow\BaseClasses\Debug_Unicode
C:\DXSDK\Samples\C++\DirectShow\BaseClasses\release
这里假设DX安装在了C盘,加的这几个要在ide自带的前面
Include file加入
C:\DXSDK\Include
C:\DXSDK\Samples\C++\DirectShow\BaseClasses
选择lib加入
C:\DXSDK\Lib
C:\DXSDK\Samples\C++\DirectShow\BaseClasses\Debug_Unicode
C:\DXSDK\Samples\C++\DirectShow\BaseClasses\release
这里假设DX安装在了C盘,加的这几个要在ide自带的前面