revantharunachalam / vulkan-setup-project

Basic set up project for Vulkan using CMake
MIT License
0 stars 0 forks source link

Errors in ccorecrt_memory.h from the Windows Kits #1

Open revantharunachalam opened 4 months ago

revantharunachalam commented 4 months ago

Build failed with three errors in ccorecrt_memory.h. This header is a part of Windows SDK.

Branch: origin/drawing_a_triangle Commit: 14254e537925d7a3489095d9b050bbb43e02ddbc

(ClCompile target) -> C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_memory.h(23,1): error C2059: syntax error: 'string' [D:\C++\vulkan-setup-project\1_bui vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_memory.h(23,1): error C2143: syntax error: missing ';' before '{' [D:\C++\vulkan-setup ild\VulkanApp.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_memory.h(23,1): error C2447: '{': missing function header (old-style formal list?) [D: etup-project\1_build\VulkanApp.vcxproj]

revantharunachalam commented 4 months ago

Info from ChatGPT:

Windows Kits, also known as Windows Software Development Kits (SDK), are sets of development tools, libraries, headers, documentation, and samples provided by Microsoft for building applications targeting Windows platforms. These kits include various components necessary for software development on Windows, such as compilers, debuggers, headers for Windows APIs, and more.

ERRORS and references:

  1. corecrt_memory.h(23,1) : error C2059: syntax error: 'string' https://learn.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2059?view=msvc-170
  2. corecrt_memory.h(23,1) : error C2143: syntax error: missing ';' before '{' https://learn.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2143?view=msvc-170
  3. corecrt_memory.h(23,1) : error C2447: '{': missing function header (old-style formal list?) https://learn.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2447?view=msvc-170