Home:ALL Converter>Getting errors E1696 with all headers in Visual Studio 2017

Getting errors E1696 with all headers in Visual Studio 2017

Ask Time:2019-07-21T03:10:50         Author:Peter Veris

Json Formatter

I was trying to make a window with GLFW, GLEW and OpenGL but once I wanted to upload to GitHub one file called "Browse.VC.db" was too big. So I deleted it (I know now that this was stupid idea :) ). And after deleting, VS shows buch of errors of number E1696 like:

E1696 cannot open source file "GL/glu.h"
E1696 cannot open source file "stddef.h"
E1696 cannot open source file "stdint.h"
E1696 cannot open source file "iostream"
E1696 cannot open source file "string"

and many many more. Also I am getting errors E0020 identifier "unint64_t" is undefined and E0135 namespace "std" has no member "string" but I think that is because of E1696 errors.

I am running Visual Studio 2017 on Windows 10. I am using Version 10.0.17763.0 of Windows SDK and I am not using precompiled headers.

I tried changing Windows SDK version to 8.1 but I does not work. I checked if I installed Windows Universal C Runtime SDK but it does not work too.

I found lot of tutorials but they were about problems with projects upgraded from older VS to newer one.

This is how I am including headers in .h filed:

#pragma once
#include <IO/Log.h>

#include <iostream>
#include <fstream>
#include <string>

Author:Peter Veris,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/57127802/getting-errors-e1696-with-all-headers-in-visual-studio-2017
yy