http://zengwu3915.blog.163.com/blog/static/2783489720105691622542/
使用VS2008,debug成功,但Release时会报fatal error C1900的link错误:1>------ Build started: Project: game_client, Configuration: Release Win32 ------
1>Linking...
1>fatal error C1900: Il mismatch between 'P1' version '20080116' and 'P2' version '20070207'
1>LINK : fatal error LNK1257: code generation failed
1>Build log was saved at "file://d:\work\wizard\output\game_client\Release\BuildLog.htm"
1>game_client - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
弄了半天还是搞不定,后来看网上说的要安装一个SP1插件什么的。纠结,被老大害死了,浪费我那多时间来弄这个问题,他们都装了那个SP1插件,却不告诉我他们装过插件。
Microsoft Visual Studio 2008 Service Pack 1插件官方下载地址,安装这个就OK啦
如果VS2008是英文版,可以到这里下载http://www.microsoft.com/downloads/details.aspx?FamilyID=27673c47-b3b5-4c67-bd99-84e525b5ce61&DisplayLang=en
如果VS2008是中文版http://www.microsoft.com/downloads/details.aspx?familyid=27673C47-B3B5-4C67-BD99-84E525B5CE61&displaylang=zh-cn