Link Fatal Error C1900
Contents |
resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 Documentation APIs and reference Dev centers Samples fatal error c1900: il mismatch between 'p1' version '20080116' and 'p2' version '20070207' Retired content We’re sorry. The content you requested has been removed. You’ll be
Fatal Error C1900: Il Mismatch Between 'p1' Version '20150812' And 'p2' Version '20130802'
auto redirected in 1 second. C/C++ Building Reference C/C++ Build Errors Compiler Fatal Errors C999 through C1999 Compiler Fatal link time code generation Errors C999 through C1999 Fatal Error C1900 Fatal Error C1900 Fatal Error C1900 Fatal Error C999 Fatal Error C1001 Fatal Error C1002 Fatal Error C1003 Fatal Error C1004 Fatal Error C1005 Fatal Error visual studio c1900 C1007 Fatal Error C1008 Fatal Error C1009 Fatal Error C1010 Fatal Error C1012 Fatal Error C1013 Fatal Error C1014 Fatal Error C1016 Fatal Error C1017 Fatal Error C1018 Fatal Error C1019 Fatal Error C1020 Fatal Error C1021 Fatal Error C1022 Fatal Error C1023 Fatal Error C1026 Fatal Error C1033 Fatal Error C1035 Fatal Error C1037 Fatal Error C1038 Fatal Error C1045 Fatal Error C1046 Fatal
Microsoft Visual Studio 2008 Service Pack 1
Error C1047 Fatal Error C1051 Fatal Error C1053 Fatal Error C1054 Fatal Error C1055 Fatal Error C1057 Fatal Error C1060 Fatal Error C1061 Fatal Error C1064 Fatal Error C1065 Fatal Error C1067 Fatal Error C1068 Fatal Error C1070 Fatal Error C1071 Fatal Error C1073 Fatal Error C1074 Fatal Error C1075 Fatal Error C1076 Fatal Error C1077 Fatal Error C1079 Fatal Error C1080 Fatal Error C1081 Fatal Error C1082 Fatal Error C1083 Fatal Error C1084 Fatal Error C1085 Fatal Error C1086 Fatal Error C1087 Fatal Error C1088 Fatal Error C1089 Fatal Error C1091 Fatal Error C1092 Fatal Error C1093 Fatal Error C1094 Fatal Error C1098 Fatal Error C1099 Fatal Error C1100 Fatal Error C1103 Fatal Error C1104 Fatal Error C1107 Fatal Error C1108 Fatal Error C1109 Fatal Error C1113 Fatal Error C1120 Fatal Error C1121 Fatal Error C1126 Fatal Error C1128 Fatal Error C1189 Fatal Error C1190 Fatal Error C1191 Fatal Error C1192 Fatal Error C1196 Fatal Error C1197 Fatal Error C1201 Fatal Error C1202 Fatal Error C1205 Fatal Error C1206 Fatal Error C1207 Fatal Error C1208 Fatal Error C1209 Fatal Error C1210 Fatal Error C1211 Fatal Error C1305 Fatal Error C1307 Fatal Error
according to its intended design. A more detailed explanation for the resolution of this particular item may have been provided in the comments section. 1 0 visual studio 2005 service pack 1 Sign into vote ID 633817 Comments 4 Status Closed Workarounds 0 Type Bug Repros visual studio update 2 1 Opened 12/29/2010 11:22:41 AM Access Restriction Public Description Another bug I found is that I can not link libraries
Visual Studio 2015 Updates
made with Visual studio 2010 with projects copiled with Visual studio 2008 and 2005 1>fatal error C1900: Il mismatch between 'P1' version '20081201' and 'P2' version '20080116' 1>LINK : fatal error LNK1257: code generation failed This does https://msdn.microsoft.com/en-us/library/ks07be9f.aspx not happens with libraries made with VS 2008, they link find with any version of Visual studio. Searching for a solution I found this: http://msdn.microsoft.com/en-us/library/ks07be9f.aspx but that does not tell me anything about how to go around solving the Bug. Please do not tell me that I need to compile all project with VS2010, because I do no have the source neither do my customers. The reason I got VS2010 is https://connect.microsoft.com/VisualStudio/feedback/details/633817/fatal-error-c1900 to distribute libraries compiled using the new Intel/AMD AVX instructions, but as it stand now VS2010 is totally useless. DETAILS ATTACH A FILE EDIT THIS ITEM Assign To Item can only be reassigned when it is active. Comments (4) | Workarounds (0) | Attachments (0) Sign in to post a comment. Please enter a comment. Submit Posted by Microsoft on 12/30/2010 at 11:50 AM Dear Julio,It sounds as though you are compiling one or more object files in your static library with Whole Program Optimization (/GL). When compiling with this option, the compiler tools that build the .obj/.lib and the ones that consume the .lib to build the .dll/.exe must be the same; if they aren't, error C1900 will be emitted. This behavior is by design as the format stored in a /GL .obj may change between releases. As noted in http://msdn.microsoft.com/en-us/library/0zza0de8.aspx, you should not ship a .lib file composed of .obj files built with /GL.Please check your build to make sure that Whole Program Optimization is disabled. For a static lib project, go to the property page and change "Configuration Properties->C/C++->Optimization->Whole Program Optimization" to "No".Mark LevineVisual C++ Posted by Microsoft on 12/29/2010 at 6:57 PM Thanks for your feedb
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn http://stackoverflow.com/questions/8959973/il-mismatch-between-p1-version-20080116-and-p2-version-20070207 more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Il mismatch between 'P1' version '20080116' and 'P2' version '20070207' up vote 5 down vote favorite 1 I am building MFC application which uses other c++ visual studio library.I am using vs 2008 and compiled all the library project in vs 2008. It is compiling well in debug mode but failed to run in Debug Unicode mode,Release,Release Unicode mode. 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. c++ visual-studio share|improve this question asked Jan 22 '12 at 8:42 Chris_vr 1,97353483 add a comment| fatal error c1900 2 Answers 2 active oldest votes up vote 6 down vote accepted 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. share|improve this answer answered Jan 22 '12 at 9:37 Werner Henze 8,15161644 add a comment| up vote 0 down vote In my case, I just installed Microsoft Visual Studio 2008 Service Pack 1 (Installer) which resolved the problem. Service Pack can be downloaded from following link: https://www.microsoft.com/en-us/download/confirmation.aspx?id=10986 SAM share|improve this answer answered Jul 27 at 5:45 SAM 61 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged c++ visual-studio or ask your own question. asked 4 years ago viewed 6243 times active 2 months ago Linked -2 Another “Il mismatch between 'P1' version '20080116' and