vcpkg error installing sfml

./vcpkg install sfml
i got this error
-- Building x86-windows-dbg
-- Restarting Build without parallelism because memory exceeded
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:145 (message):
Command failed: C:/Dev/vcpkg/downloads/tools/cmake-3.19.2-windows/cmake-3.19.2-win32-x86/bin/cmake.exe --build . --config Debug --target install -- -v -j3
Working Directory: C:/Dev/vcpkg/buildtrees/sfml/x86-windows-dbg
See logs for more information:
C:\Dev\vcpkg\buildtrees\sfml\install-x86-windows-dbg-out.log
C:\Dev\vcpkg\buildtrees\sfml\install-x86-windows-dbg-out-1.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:96 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:27 (vcpkg_build_cmake)
ports/sfml/portfile.cmake:32 (vcpkg_install_cmake)
scripts/ports.cmake:136 (include)
Error: Building package sfml:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: sfml:x86-windows
Vcpkg version: 2020.11.12-nohash
please help
Last edited on
> See logs for more information

Look at the log files; it may contain specific information about the build failure.

If looking at the logs do not suggest a simple fix, submit a bug report and wait for its resolution.

Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: sfml:x86-windows
Vcpkg version: 2020.11.12-nohash
./vcpkg update
response is up to date
and many people send the same bug for other packages and i didn't see a response that solve the problem but any way thank you for helping
I think this could be the solution but i dont know how do do it??????
C:\Dev\vcpkg\buildtrees\sfml\src\2.5.1-289b1ee5b0.clean\src\SFML\Network\IpAddress.cpp(92): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
C:\Dev\vcpkg\buildtrees\sfml\src\2.5.1-289b1ee5b0.clean\src\SFML\Network\IpAddress.cpp(184): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
solved by installing windows sdk at vs 2019
Registered users can post here. Sign in or register to post.