При компиляции абсолютно любого кода вылазит ошибка: 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include\yvals.h(12,10): fatal error C1083: Не удается открыть файл включение: crtdbg.h: No such file or directory, 1>Сборка проекта "rust1.vcxproj" завершена с ошибкой. Перепробовал уже все, до чего мог дотянутся, (SDK ставил) Уже после пробы компиляции дает следующее: Хотелось бы понять где я совершил ошибку, может вообще не та версия VS?
Гугл под рукой всегда. Решение crtdbg.h is a ucrt header file which is saved in the Windows SDK ucrt folder: C:\Program Files (x86)\Windows Kits\10\Include{version}\ucrt. If you have installed Windows SDK, please add the path of SDK include folder into project property->VC++ Directories->Include Directories; If you haven’t installed Windows SDK, you could get it by Visual Studio Installer or by there: https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk/ После данной манипуляции попробуй заново сбилдить проект. Источники: https://stackoverflow.com/questions/12685202/how-do-i-get-crtdbg-h-file https://developercommunity.visualstudio.com/t/error-c1083-yvalsh-unable-to-include-crtdbgh/958134 Данное сообщение является одним из способов решения а не рекламой того или иного сервиса.