You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 1, 2026. It is now read-only.
Hi, I compiled on the Windows platform, I followed the steps in this article(https://github.com/microsoft/cpprestsdk/wiki/How-to-build-for-Windows), I used vcpkg to build the required third-party library, I want to compile a library with a compression function, but in the end, the steps of CMake encountered an error. Who can help me?
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
CMake Deprecation Warning at Release/CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- The CXX compiler identification is MSVC 19.42.34433.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Setting msvc options
-- websocketpp not found, using the embedded version
CMake Warning (dev) at D:/Workspace/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
Release/cmake/cpprest_find_boost.cmake:51 (find_package)
Release/cmake/cpprest_find_websocketpp.cmake:17 (cpprest_find_boost)
Release/src/CMakeLists.txt:68 (cpprest_find_websocketpp)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at C:/Program Files/CMake/share/cmake-4.0/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR system date_time regex)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-4.0/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-4.0/Modules/FindBoost.cmake:2422 (find_package_handle_standard_args)
D:/Workspace/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
Release/cmake/cpprest_find_boost.cmake:51 (find_package)
Release/cmake/cpprest_find_websocketpp.cmake:17 (cpprest_find_boost)
Release/src/CMakeLists.txt:68 (cpprest_find_websocketpp)
-- Configuring incomplete, errors occurred!
Hi, I compiled on the Windows platform, I followed the steps in this article(https://github.com/microsoft/cpprestsdk/wiki/How-to-build-for-Windows), I used vcpkg to build the required third-party library, I want to compile a library with a compression function, but in the end, the steps of CMake encountered an error. Who can help me?