'P1'版本'20080116'和'P2'版本'20070207'之间的Il不匹配

编程入门 行业动态 更新时间:2024-10-25 04:22:28
本文介绍了'P1'版本'20080116'和'P2'版本'20070207'之间的Il不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在构建使用其他c ++库的MFC应用程序.我正在使用vs 2008,并在vs 2008中编译了所有库项目.

I am building MFC application which uses other c++ library.I am using vs 2008 and compiled all the library project in vs 2008.

它在调试模式下编译良好,但无法在调试Unicode"模式,释放",释放Unicode"模式下运行.

It is compiling well in debug mode but failed to run in Debug Unicode mode,Release,Release Unicode mode.

我在网上发现需要安装VS 2008SP1,但是它是如何在调试模式下编译的.

I found in the net that VS 2008SP1 is required to be installed but how come it is compiling in debug mode.

请提出解决此问题的方法.

Please suggest how to overcome this problem.

推荐答案

如果编译包含多个项目的解决方案,则应使用相同的编译器(版本)来编译所有项目,以确保其有效.

If compiling a solution with multiple projects you should compile all projects with the same compiler (version) to be sure it works.

我曾经收到过和您一样的错误消息.如果我没记错的话,出现此问题是因为使用了链接时间代码生成.我的解决方案是全部重建,另一种解决方案可能是禁用链接时间代码生成.

I once got the same error message like you. If I remember correctly the problem occured because link time code generation was used. My solution was to rebuild all, another solution might have been disabling link time code generation.

更多推荐

'P1'版本'20080116'和'P2'版本'20070207'之间的Il不匹配

本文发布于:2023-10-18 23:56:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1505799.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:版本   不匹配   Il

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!