If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Fatal error C1047

Hi
i am creating an application in MFC using VS 2008 using third party SDK. i am compling this
application in Debug mode it work fine. But when i am compiling this application in release mode
i get this linking error.

fatal error C1047: The object or library file '../lib/SIPEvent.lib' was created with an older compiler than other objects; rebuild old objects and libraries
thanks.

Re: Fatal error C1047

You do not need to same version .LIB to use in your application.
Assume for example, you have DLL and LIB file which was built using VC8 (or say VC6). You still can use it in VC8, VC9, CV10.

You have also mentioned that you can successfully build in Debug, but not in Release. That means, there must be problem with compiler/linker optimization. In Project properties, try removing 'Link time code generation', and then rebuild.

Also, you did not mention if .LIB is static library, or the DLL is with it.