Why does my Visual Studio project constantly say it can't find stdint.h but it builds fine?
Everywhere I try to include stdint.h and use it's associated types like int32_t or uint8_t, Visual Studio reports "Error: Cannot open source file "stdint.h" ".
When I specify these types as "std::int32_t" the usages are underlined as errors, but I can use VS's "peek definition" feature to see the file where they are defined.
As long as I only build, and don't rebuild, everything appears to build fine. Why is Visual Studio so confused here? Here's a screenshot of what I'm seeing, with the usage underlined, but "peek definition" still working:
Follow this question
Once you sign in you will be able to subscribe for any updates here