Tylv
Tylv

Reputation: 39

Visual Studio 2015 c++ cannot open include file error

I have been trying to figure out this error for a while now but I cannot find anything, whenever I try to build my program I get the error:

C1083: Cannot open include file: 'corecrt.h' No such file or directory.

edit: I added $(UniversalCRT_IncludePath) into additional include directories but I still get the error.

Attempting to add into additional include directories

Code and Error Here

Upvotes: 1

Views: 1821

Answers (1)

Nikita
Nikita

Reputation: 6427

You should check Additional Include Directories parameter for your C++ project.

To do that, go Project -> Properties -> C/C++ and add $(UniversalCRT_IncludePath) to Additional Include Directories parameter.

More information about Universal CRT can be found here.

Upvotes: 1

Related Questions