Visual Studio 2010 project not compiling
I have a visual studio project in 2010 installed on two different laptops, one with windows 7 and other one with windows 10. But the thing is that when i compile on windows 10 i get the errors:
Error 3 error C2338: CVarTypeInfo< char > cannot be compiled with /J or _CHAR_UNSIGNED flag enabled C:Program Files (x86)Microsoft Visual Studio 10.0VCatlmfcincludeatlcomcli.h 1751 1 PRJ_var
Error 4 error C2338: CVarTypeInfo< char* > cannot be compiled with /J or _CHAR_UNSIGNED flag enabled C:Program Files (x86)Microsoft Visual Studio 10.0VCatlmfcincludeatlcomcli.h 1774 1 PRJ_var
Error 5 error U1077: '"C:Program Files (x86)Microsoft Visual Studio 10.0VCbincl.EXE"' : return code '0x2' D:NovinsoftNISscfaNMAKE PRJ_var
Error 6 error MSB3073: The command "NMAKE /f PRJvar.mak /a" exited with code 2. C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.MakeFile.Targets 43 6 PRJ_var
That's very weird because on windows 7 it compiles perfectly fine using Visual Studio 2010 Professional on both laptops. I have the same version of Visual Studio and same files/directories. Both laptops are using 64-bit OS.
Can anyone know what's the problem ?
Thanks in advance.
链接地址: http://www.djcxy.com/p/95576.html上一篇: 使用Javascript模拟滚动事件