Compiling a MFC app from Visual Studio 2010 to 2012 RC results in LNK2038

前端 未结 4 1248
走了就别回头了
走了就别回头了 2020-12-11 20:10

My project is compiling and running OK in debug and release modes in VS 2010. Today I tried to compile it with VS 2012 and I got this error :

1>  Generati         


        
4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-11 20:25

    Looks like you're using a .lib from vc2010 in vc2012 (at a guess it looks like a PCRE library). You'll need to recompile all your .libs or run-time link with the DLLs (ie LoadLibrary, GetProcAddress etc.).

提交回复
热议问题