error C2061: syntax error : identifier 'CAMSchedule'
2013-05-15 10:19
781 查看
DirectShow中的例子,在编译的过程中经常会出现这样的错误:
Error 1 error C2061: syntax error : identifier 'CAMSchedule' c:/program files/microsoft sdks/windows/v6.0/samples/multimedia/directshow/baseclasses/refclock.h 80
这主要是因为在不同SDK的目录里包含了 多个 schedule.h file 和 refclock.h
因此需要在 Tools-> options -> vc directories -> include
中调整 include 的顺序
将samples/multimedia/directshow/baseclasses 放到其他的sdk之前即可
Error 1 error C2061: syntax error : identifier 'CAMSchedule' c:/program files/microsoft sdks/windows/v6.0/samples/multimedia/directshow/baseclasses/refclock.h 80
这主要是因为在不同SDK的目录里包含了 多个 schedule.h file 和 refclock.h
因此需要在 Tools-> options -> vc directories -> include
中调整 include 的顺序
将samples/multimedia/directshow/baseclasses 放到其他的sdk之前即可
相关文章推荐
- error C2061: syntax error : identifier 'CAMSchedule'
- error C2061: syntax error : identifier '__RPC__out_xcount_part'
- error C2061: syntax error : identifier 'THIS_FILE'
- error C2061: syntax error : identifier 'CAMSchedule'
- error C2061: syntax error : identifier 'THIS_FILE'
- error C2061: syntax error : identifier 'PCONTEXT'处理
- error C2061: syntax error : identifier 'THIS_FILE'
- error C2061: syntax error : identifier '__RPC__out_xcount_part'
- VC6提示 error C2061: syntax error : identifier 'THIS_FILE' 错误的解决办法
- error C2061: syntax error : identifier 'SHFILEINFOW' // 无法解析的外部符号 wWinMain,该符号在函数 WinMainCRTStartup
- 使用INPUT结构时出现“error C2061: syntax error : identifier 'INPUT'”
- error C2061: syntax error : identifier 'BinryTreeNode'
- 最终解决error C2146: syntax error : missing ';' before identifier的问题
- 编译错误:syntax error : identifier '__RPC__in'
- error C2146: syntax error : missing ';' before identifier 'fd'
- VS 2005 下错误:syntax error : missing ';' before identifier 'PVOI
- 使用sndPlaySound时的错误syntax error : missing ';' before identifier 'MMVERSION'的解决
- vs2010 库函数问题:objidl.h(11266) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
- xtree ( 1317 ) : error C2061: syntax error : identifier '_Wherenode'
- syntax error, unexpected ''&expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NU