Error C1047: Object file created with an older compiler than other objects

前端 未结 11 864
遇见更好的自我
遇见更好的自我 2020-12-17 08:03

I have a project that I\'m building in C++ in Release mode in Visual Studio 2008 SP1 on Windows 7 and when I build it I keep getting:

fatal error C104

11条回答
  •  猫巷女王i
    2020-12-17 08:32

    I had the same problem too, and my visual Studio About box reported I had SP1 installed. Apparently that was not entirely true. Investigation on my specific occurance to this problem reveiled the resource compiler seemed to be the culprid. It happened to be an older version, that caused the mentioned error message. My installed hotfixes (Windows update) did not solve that problem. Maybe I missed a crucial one.....

    Hopefully we once experience the day developers will actually communicate back the real problem in their generated error messages. :-) 'an older version of a compiler....' come on guys, you can do better than that ;-)

    Anyways, here is the downloadlink to the latest SP1 for VS2008 i've used to solve this problem.

    http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&displaylang=en

    Happy coding.

提交回复
热议问题