症状
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没试。

相关文章:

  • 2021-04-25
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2021-05-23
  • 2021-05-19
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-29
  • 2021-06-07
  • 2022-12-23
  • 2021-06-20
  • 2022-12-23
  • 2021-12-29
相关资源
相似解决方案