glow icon indicating copy to clipboard operation
glow copied to clipboard

Build failure on Windows

Open ARF1 opened this issue 3 years ago • 2 comments

I followed the instructions for building on windows in the docs directory making use of the pre-built dependencies and installing folly with vcpkg.

However when then building glow, I encounter the following error:

CMake Error at C:/ProgramData/Miniconda3/envs/glow-dev/Library/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
  Could NOT find Boost (missing: context filesystem program_options regex
  system thread) (found suitable version "1.75.0", minimum required is
  "1.51.0")
Call Stack (most recent call first):
  C:/ProgramData/Miniconda3/envs/glow-dev/Library/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
  C:/ProgramData/Miniconda3/envs/glow-dev/Library/share/cmake-3.19/Modules/FindBoost.cmake:2208 (find_package_handle_standard_args)
  C:/ProgramData/Miniconda3/envs/glow-dev/Library/share/cmake-3.19/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  Z:/myprojects/glow/vcpkg/installed/x64-windows/share/folly/folly-config.cmake:63 (find_dependency)
  CMakeLists.txt:209 (find_package)


-- Configuring incomplete, errors occurred!
See also "Z:/myprojects/glow/vcpkg/CMakeFiles/CMakeOutput.log".
See also "Z:/myprojects/glow/vcpkg/CMakeFiles/CMakeError.log".

Any advice on how to fix this? Having a version that is higher than the minimum required should not be an error, right? If it is an error, how can I force the use of the correct version when using vcpkg?

ARF1 avatar Mar 27 '21 16:03 ARF1

I also have same issue. Following

Adityaljo avatar Apr 01 '21 03:04 Adityaljo

I downloaded boost source code from https://boostorg.jfrog.io/artifactory/main/release/1.77.0/source/boost_1_77_0.7z extract files, and run bootstrap.bat, after a while all is done (I installed VS 2019 first), then -DCMAKE_PREFIX_PATH=";\boost_1_77_0;"

RockySong avatar Nov 14 '21 09:11 RockySong