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

前端 未结 4 1249
走了就别回头了
走了就别回头了 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:39

    In Project Properties, select General and then change the "Platform Toolset" setting to "Visual Studio 2010 (v100)." After I did that, my code compiled fine with the original libraries.

提交回复
热议问题