Paul
Paul

Reputation: 6911

After updating Visual Studio: error C1083: Cannot open include file: 'atlbase.h': No such file or directory

Visual Studio was just updated from 17.2.5 to 17.3.1, and in all my projects which include ATL/MFC, I'm getting the following error:

1>C:\proj\file.h(19,10): error C1083: Cannot open include file: 'atlbase.h': No such file or directory

The only atlbase.h file that can be found on my computer is at:

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808\atlmfc\include

But it's not among the includes for projects. Instead, the include paths show this folder:

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433\atlmfc\include

So is it a problem with the update and its include paths? Am I the only one having this problem? Is there a fix?

I reverted to the previous version and it works again now.

Upvotes: 0

Views: 26

Answers (0)

Related Questions