contour: Windows Installation Fails

Contour Terminal version

latest

Installer source

Github: source code cloned

Operating System

Windows 11

Architecture

x86-64

Other Software

NA

Steps to reproduce

the cmake command fails:

PS C:\Users\monty\contour> cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=C:/Users/monty/vcpkg/scripts/buildsystems/vcpkg.cmake

Expected Behavior

build

Actual Behavior

the cmake command fails:

PS C:\Users\monty\contour> cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=C:/Users/monty/vcpkg/scripts/buildsystems/vcpkg.cmake
-- [Version] Git branch: master
-- [Version] Git SHA: 10c02bef
-- [Version] version source: git & C:/Users/monty/contour/Changelog.md
-- [Version] version triple: 0.3.0
-- [Version] version string: 0.3.0-unreleased-master-10c02bef
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.
-- [ccache] Disabled.
-- [clang-tidy] Disabled.
-- [FilesystemResolver]: Using standard C++ filesystem API
-- addr2line: ADDR2LINE-NOTFOUND
-- No sanitizer enabled.
-- Embedding 3rdparty libraries: C:/Users/monty/contour/_deps/sources
CMake Error at cmake/ContourThirdParties.cmake:58 (find_package):
  By not providing "Findfmt.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "fmt", but
  CMake did not find one.

  Could not find a package configuration file provided by "fmt" with any of
  the following names:

    fmtConfig.cmake
    fmt-config.cmake

  Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set "fmt_DIR"
  to a directory containing one of the above files.  If "fmt" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:86 (include)


-- Configuring incomplete, errors occurred!
See also "C:/Users/monty/contour/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/monty/contour/build/CMakeFiles/CMakeError.log".

Additional notes

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 28 (15 by maintainers)

Most upvoted comments

Did you run the install-deps.ps1 script from scripts? The problem is the different version of libfmt, please try with embedded

I did. Actually the issue was the old version of vcpkg. Once i updated it, i was able to install fmt 9.0.0