I got this error when trying to build desktop client by using visual studio 2017 please advice

i got this error when trying to build desktop client by using visual studio 2017 please advice

Suppression State
Error CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake 137

You missing a reference or zlib is installed to an unusual location?

ZLIB Documentation at cmake.org

An includer may set ZLIB_ROOT to a zlib installation root to tell this module where to look.

many thanks could you please send me step by step how to build desktop client i am trying many times but every time i got errors like the previous error or openssl v1.1 is missing
thanks in advance

CMake Warning at C:/Program Files/CMake/share/cmake-3.12/Modules/FindOpenSSL.cmake:405 (message):
VERSION is not a valid OpenSSL component
Call Stack (most recent call first):
CMakeLists.txt:186 (find_package)

CMake Warning at C:/Program Files/CMake/share/cmake-3.12/Modules/FindOpenSSL.cmake:405 (message):
1.1 is not a valid OpenSSL component
Call Stack (most recent call first):
CMakeLists.txt:186 (find_package)

CMake Error at C:/Program Files/CMake/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: VERSION 1.1) (found version
“1.1.0h”)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.12/Modules/FindOpenSSL.cmake:412 (find_package_handle_standard_args)
CMakeLists.txt:186 (find_package)

do u find a solution of this issue?

I’ve been facing the same error to build desktop client. has anyone solved this?