Make sure that source or header files contain #include <chrono>
.
Show details if this does not help.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I made the mistake of letting Microsoft install some extensions to Visual Studio Code, and now I get the following error when building my project when using Visual Studio Professional 2022, Version 17.13.3:
‘system_clock’: is not a member of ‘std::chrono’
The VS error code is C2039.
Any idea on how to fix this? I’m assuming that I’m not using a compatible version of VS or C/C++ (I’m using Visual C++ 2022 00476-80000-00000-AA063)
Make sure that source or header files contain #include <chrono>
.
Show details if this does not help.