CR的代码文本

all for learning about the world
  订阅 订阅  :: 管理

2011年5月30日

摘要: C/C++->Code Generation->Runtime Libraryrelease和debug各有三种模式:单线程,多线程,多线程DLL。各自链接的lib为:release单线程(/ML): libc.librelease多线程(/MT): libcmt.librelease多线程DLL(/MD): msvcrt.lib(导入库)debug单线程(/MLd): libcd.libdebug多线程(/MTd): libcmtd.libdebug多线程DLL(/MDd): msvcrtd.lib(导入库)若冲突可使用NODEFAULTLIB强制忽略其他/NODEFAULTLI 阅读全文

posted @ 2011-05-30 16:53 mumuliang 阅读(307) 评论(0) 推荐(0) 编辑

摘要: 症状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没试。 阅读全文

posted @ 2011-05-30 14:10 mumuliang 阅读(3181) 评论(0) 推荐(0) 编辑

摘要: 基本上就是command line 中的编译选项和general中的冲突了。MSDN解释如下:Command-Line Warning D9025overriding 'option1' with 'option2'The option1 option was specified but was then overridden by option2. The option2 option was used.If two options specify contradictory or incompatible directives, the directive 阅读全文

posted @ 2011-05-30 13:20 mumuliang 阅读(2061) 评论(0) 推荐(0) 编辑