Closed
Description
Describe the bug
Failed to build according to document in Windows environment.
To Reproduce
- Install visual studio 2017 ( Select Desktop development with c++ while installing ).
- Install Cmake 4.0.0
- Install Strawberry Perl 5.40.0.1
- Install git 2.48.1
- Install NASM 2.16.03
- Install all dependencies
Command execution failed: msbuild localproxy.vcxproj -p:Configuration=Release
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
msbuild failed.
Logs
C:\Users\Administrator\workspace\aws-iot-securetunneling-localproxy\build>msbuild localproxy.vcxproj -p:Configuration=Release
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 3/12/2025 7:33:46 AM.
Project "C:\Users\Administrator\workspace\aws-iot-securetunneling-localproxy\build\localproxy.vcxproj" on node 1 (defau
lt targets).
Project "C:\Users\Administrator\workspace\aws-iot-securetunneling-localproxy\build\localproxy.vcxproj" (1) is building
"C:\Users\Administrator\workspace\aws-iot-securetunneling-localproxy\build\ZERO_CHECK.vcxproj" (2) on node 1 (default t
argets).
InitializeBuildStatus:
Creating "Win32\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
1>Checking Build System
CMake is re-running because C:/Users/Administrator/workspace/aws-iot-securetunneling-localproxy/build/CMakeFiles/gene
rate.stamp is out-of-date.
the file 'C:/Boost/lib/cmake/boost_log-1.87.0/libboost_log-variant-vc141-mt-gd-x32-1_87-static.cmake'
is newer than 'C:/Users/Administrator/workspace/aws-iot-securetunneling-localproxy/build/CMakeFiles/generate.stamp.
depend'
result='0'
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.17763.0 to target Windows 10.0.20348.
-- Using Git to calculate AWS IoT Secure Tunneling Local Proxy version information...
-- Generated AWS IoT Secure Tunneling Local Proxy version: v3.1.15-ae6a675
CMake Warning (dev) at CMakeLists.txt:96 (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.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at C:/Boost/lib/cmake/Boost-1.87.0/BoostConfig.cmake:141 (find_package):
-- Configuring incomplete, errors occurred!
Found package configuration file:
C:/Boost/lib/cmake/boost_log-1.87.0/boost_log-config.cmake
but it set boost_log_FOUND to FALSE so package "boost_log" is considered to
be NOT FOUND. Reason given by package:
No suitable build variant has been found.
The following variants have been tried and rejected:
* libboost_log-vc141-mt-gd-x64-1_87.lib (64 bit, need 32)
* libboost_log-vc141-mt-x64-1_87.lib (64 bit, need 32)
Call Stack (most recent call first):
C:/Boost/lib/cmake/Boost-1.87.0/BoostConfig.cmake:262 (boost_find_component)
C:/Program Files/CMake/share/cmake-4.0/Modules/FindBoost.cmake:609 (find_package)
CMakeLists.txt:96 (find_package)
Environment (please complete the following information):
- OS: Windows Server 2022
- Version 21H2
- Architecture: x86-64
- Localproxy commit: main
Additional context
Add any other context about the problem here.