fatal error C1900: Il mismatch between 'P1'

2019-07-07 03:42发布

问题:

I compile my project with VIsual Studio 2005 Express Edition, and get this linking error. Can anyone suggest how to solve that?

回答1:

I downloaded VS2005 Service Pack 1 from Microsoft, installed it and it fixed the problem.



回答2:

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.



回答3:

That exact question is asked and answered at http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1512436&SiteID=1.

Try re-installing. It appears to be an install of the wrong service pack.



标签: linker