I am new to VS2010 and tried to compile a project ever working in VS2008. The error looks simple:
stdafx.h (43): fatal error C1083: cannot include include file: 'afxwin.h': no ββsuch file or directory stdstring.h (619): fatal error C1083: unable to open include file: "TCHAR.H": no of such file or directory threads.h (52): fatal error C1083: cannot open include file: 'cassert': no ββsuch file or directory
I am googled and this type of error often happens in VS2010 Express version, but I am using VS2010 Professional Edition. And I checked, all these missing files are in the right place. C: \ Program Files (x86) \ Microsoft Visual Studio 10.0 \ VC \ atlmfc \ include and C: \ Program Files (x86) \ Microsoft Visual Studio 10.0 \ VC \ include
The fact is that the other header files in stdafx.h are in the same directory as afxwin.h, but did not receive a complaint.
I also checked the VC ++ directories of the property manager, and the "Include Directories" includes "$ (VCInstallDir): $ (VCInstallDir) atlmfc \ include; $ (FrameworkSDKDir) \ include; $ (WindowsSdkDir) includes".
Is there anything else I forgot to check? Very grateful for the help.
source share