error C2061: syntax error : identifier '__RPC__out_xcount_part'
2011-09-08 10:22
555 查看
error C2061: syntax error : identifier '__RPC__out_xcount_part'
症状vs2010编译physx3出现
error C2061: syntax error : identifier '__RPC__out_xcount_part'
解决办法
在c/c++ -> General -> Additional Include Directories中,把windowsSDK的目录放置在directx的include路径之前。
注意!这里不是修改全局c/c++ directories。
大约是directx的sdk冲突引起的。ms找到的建议是1.升级d3d sdk,2.使用vs2010 beta2.
经测试1无效,2,2没试。
转自:http://www.cnblogs.com/mumuliang/archive/2011/05/30/2063265.html
我出现的问题也是一样:
平台:vs2010
程序:我使用DX来做一个简单的小程序
最后配置:
VC++ Directories->Include Directories:$(IncludePath);$(DXSDK_DIR)include\
VC++ Directories->Library Directories:$(IncludePath);$(DXSDK_DIR)Lib\x86\
Linker->Input->Additional Dependencies:d3d9.lib;d3dx9.lib;dinput8.lib;dxguid.lib;kernel32.lib......
相关文章推荐
- error C2061: syntax error : identifier '__RPC__out_xcount_part'
- vs2010 库函数问题:objidl.h(11266) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
- vs2010 库函数问题:objidl.h(11266) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
- error C2061: syntax error : identifier 'THIS_FILE'
- error C2061: syntax error : identifier '__RPC__out_xcount_part'
- error C2061: syntax error : identifier 'THIS_FILE'
- error C2061: syntax error : identifier 'PCONTEXT'处理
- error C2061: 语法错误 : 标识符“__RPC__out_xcount_part”
- error C2061: syntax error : identifier 'CAMSchedule'
- VC6.0MFC下使用GDI++编译链接通不过的解决方案之一(syntax error : identifier 'Count')
- error C2061: syntax error : identifier '__RPC__out_xcount_part'
- error C2061: 语法错误: 标识符“__RPC__out_xcount_part” VS2010
- error C2061: 语法错误: 标识符“__RPC__out_xcount_part” VS2010
- 安装DirectX SDK后,编译VTK出错"__RPC__out_xcount_part"
- error C2061: syntax error : identifier 'CAMSchedule'
- 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 '__RPC__deref_out_opt
- error C2061: syntax error : identifier 'BinryTreeNode'