After successful configuration and running a build:

`cmake --build . --config Release --target install -j16`

a had an error

```
  sdl.cc
E:\GH\libde265\dec265\sdl.cc(41,5): error C3861: 'printf': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(52,5): error C3861: 'printf': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(61,5): error C3861: 'printf': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(74,5): error C3861: 'printf': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(82,5): error C3861: 'printf': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(136,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(137,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(138,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(146,9): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(151,9): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(156,9): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(169,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(177,9): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(183,3): error C3861: 'memset': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(196,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(206,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(207,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(246,7): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
  Generating Code...
```

same error in VS Gui.

issue was fixed by adding into a sdl.cc

```
#include <cstring>
#include <cstdio>
```

Not sure why that possible, but looks like this two includes was missed. Or probably default Cmake configuration disabled std library.
Error compiling in Visual Studio 2022. Missed #include: <cstdio> and <cstring> in sdl.cc?
This is a GitHub Issue
repo:libde265
owner:strukturag
Title : Error compiling in Visual Studio 2022. Missed #include: <cstdio> and <cstring> in sdl.cc?
Issue date:

--- start body ---
After successful configuration and running a build:

`cmake --build . --config Release --target install -j16`

a had an error

```
  sdl.cc
E:\GH\libde265\dec265\sdl.cc(41,5): error C3861: 'printf': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(52,5): error C3861: 'printf': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(61,5): error C3861: 'printf': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(74,5): error C3861: 'printf': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(82,5): error C3861: 'printf': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(136,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(137,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(138,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(146,9): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(151,9): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(156,9): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(169,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(177,9): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(183,3): error C3861: 'memset': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(196,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(206,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(207,5): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
E:\GH\libde265\dec265\sdl.cc(246,7): error C3861: 'memcpy': identifier not found [E:\GH\libde265\build\dec265\dec265.vcxproj]
  Generating Code...
```

same error in VS Gui.

issue was fixed by adding into a sdl.cc

```
#include <cstring>
#include <cstdio>
```

Not sure why that possible, but looks like this two includes was missed. Or probably default Cmake configuration disabled std library.
--- end body ---
