Link Error C 1900
Contents |
and 'P2' version '20070207' Visual Studio Languages , Windows Desktop Development > C++ Standards, Extensions, and Interop Question 0 Sign in fatal error c1900: il mismatch between 'p1' version '20080116' and 'p2' version '20070207' to vote Hi all, I have a Team Foundation Build Agent that fatal error c1900: il mismatch between 'p1' version '20150812' and 'p2' version '20130802' has Visual Studio Team System 2008 Test Edition installed. One of the solutions that I compile with that c1900 cisco Build Agent gives me the following errors: VCBUILD : fatal error C1047: The object or library file '.\bin\Release\main.obj' was created with an older compiler than other objects; rebuild
Disabling Link Time Code Generation
old objects and libraries LINK : fatal error LNK1257: code generation failed VCBUILD : fatal error C1900: Il mismatch between 'P1' version '20080116' and 'P2' version '20070207' LINK : fatal error LNK1257: code generation failed I've searched online and found that other people have experienced the same problem: http://software.intel.com/en-us/forums/intel-c-compiler/topic/62516/ http://nuicode.com/issues/266 In the second posting one states c1900 error "I had the same Error! After installing Service Pack1 for VS2008 it worked!". Thats great for him but I don't see any such update for the Test Edition of Visual Studio Team System 2008 - Test Edition. What can I do to get rid of that problem? Thanks! Moved by Edwer Fang Friday, August 21, 2009 3:41 AM (From:Visual Studio Team System - Testing) Wednesday, August 19, 2009 4:47 PM Reply | Quote Answers 3 Sign in to vote Hello ACKH I once handled a similar case in newsgroups. That case exhibit a almost same symptom. Please check out my summary below: Problem In that case, the customer has a DLL project that you had built on a machine where VS 2008 SP1 was installed. You then attempted to rebuild that project on a machine without SP1, and got a fatal compiler error C1900 “IL mismatch between ‘P1’ version ‘20080116’ and ‘P2’ version ‘20070207’”, and then LNK1257 “Code generation failed”. He found that rebuilding your static library alleviated the errors, but cannot accept thi
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 vs2005 service pack 1 the company Business Learn more about hiring developers or posting ads with us Stack
Microsoft Visual Studio 2008 Service Pack 1
Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community
C1900 Hcpcs
of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up fatal error C1900: Il mismatch between 'P1' version '20060201' and 'P2' version '20050411' up vote 3 down https://social.msdn.microsoft.com/Forums/vstudio/en-US/9abfefe0-56bd-4a82-ae14-b08f262972bd/fatal-error-c1900-il-mismatch-between-p1-version-20080116-and-p2-version-20070207?forum=vclanguage vote favorite I compile my project with VIsual Studio 2005 Express Edition, and get this linking error. Can anyone suggest how to solve that? linker share|improve this question edited Mar 4 '10 at 20:44 Jon Seigel 9,49754381 asked Sep 25 '08 at 9:10 Denis add a comment| 3 Answers 3 active oldest votes up vote 6 down vote I downloaded VS2005 Service Pack 1 from Microsoft, installed it and it fixed the http://stackoverflow.com/questions/132270/fatal-error-c1900-il-mismatch-between-p1-version-20060201-and-p2-version problem. share|improve this answer answered Sep 29 '08 at 7:51 Denis This worked for me too but I had trouble installing SP1 for 2005. I think this primarily because I had also installed VS2010 on my machine and SP1 updated was unable to find out which version to update (..oh microsoft!). At the end I used windows Update utility to keep finding all updates and it first discoovered SP1 for VS2010 and installed and later discovered SP1 for VS2005 and installed it. After that my error went away. –zar Aug 30 '12 at 16:31 add a comment| up vote 3 down vote MSDN: Fatal Error C1900 says: "Tools run in various passes of the compiler do not match. number1 and number2 refer to the dates on the files. For example, in pass 1, the compiler front end runs (c1.dll) and in pass 2, the compiler back end runs (c2.dll). The dates on the files must match and if they do not, reinstall and use the current version of each tool." Go to Add/Remove Programs, select Visual Studio 2005 Express Edition, click Change/Remove, then perform a repair. share|improve this answer answered Sep 25 '08 at 12:26 Mike Dimmick 7,90411537 add a comment| up vote 2 down vote That exact question is asked
LearningModern CodeNetworkingOpen SourceStorageToolsDeveloper TypeEmbedded SystemsGame DevMediaTechnical, Enterprise, HPCWebOSAll ToolsAndroid*HTML5Linux*OS X*Windows*ResourcesCode SamplesContact SupportDocumentationFree SoftwareIntel Registration CenterProduct ForumsSDKsResourcesPartner with IntelAcademic ProgramPartner SpotlightBlack Belt DeveloperDeveloper MeshInnovator ProgramSuccess StoriesLearnBlogBusiness TipsEventsVideosSupportContact SupportDeveloper EvangelistsFAQsForums Search form Search You are hereHome › https://software.intel.com/en-us/forums/intel-c-compiler/topic/299119 Forums › Intel® Software Development Products › Intel® C++ Compiler FacebookLinkedInTwitterDiggDeliciousGoogle Plus fatal error C1900: Il mismatch between 'P1' version '20080116' and 'P2' version '20070207' fatal error C1900: Il mismatch between 'P1' version '20080116' and 'P2' version '20070207' kfsone Tue, 12/16/2008 - 17:20 Under Visual Studio 2008, building a project with global multi-file optimization and /arch:sse2 /Qax:sse4.2 error c ... compilation of the project takes about a minute and then it starts to link/optimize, which takes about 25-30 minutes. Finally, it reaches:
xilink: executing 'link' fatal error C1900: Il mismatch between 'P1' version '20080116' and 'P2' version '20070207' LINK : fatal error LNK1257: code generation failed At something of a loss ... but I'm fatal error c1900: wondering if it is complaining that some library or object wasn't compiled with the Intel compiler (we have rather a lot of external libraries). Oliver 'kfs1' Smith, Lead Server Programmer, Cornered Rat Software / Battleground Europe RSS Top 3 posts / 0 new Last post For more complete information about compiler optimizations, see our Optimization Notice. Log in to post comments Tim P. Tue, 12/16/2008 - 22:59 Quoting - kfsone fatal error C1900: Il mismatch between 'P1' version '20080116' and 'P2' version '20070207' Several independent web search references agree this is due to mixing components between VS service packs. I've noticed that it seems nearly impossible to get a full SP installation on VS2008, and I've had the experience of having to download a fresh .iso of VS2008 and run repair. In fact, it's documented that the original (beta) SP1 is incompatible with subsequent patches, and so the repair back to original is an expected requirement. Top Log in to post comments kfsone Wed, 12/17/2008