cpp-best-practices / gui_starter_template

A template CMake project to get you started with C++ and tooling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

conan install fails due to zlib version conflict

hrabalik opened this issue · comments

Used the template, but all the initial CI jobs fail due to an error in "Configure CMake" step.

ERROR: Conflict in fltk/1.3.8:
    'fltk/1.3.8' requires 'zlib/1.2.11' while 'libxml2/2.9.12' requires 'zlib/1.2.12'.
    To fix this conflict you need to override the package 'zlib' in your root package.
CMake Error at build/conan.cmake:638 (message):
  Conan install failed='1'
Call Stack (most recent call first):
  build/_deps/_project_options-src/src/Conan.cmake:44 (conan_cmake_install)
  build/_deps/_project_options-src/src/Index.cmake:186 (run_conan)
  build/_deps/_project_options-src/src/DynamicProjectOptions.cmake:143 (project_options)
  CMakeLists.txt:89 (dynamic_project_options)

Looks like zlib version will need to be declared explicitly.

Correction, only the linux-based CI jobs (including CodeQL and Template Janitor) failed, MacOS and Windows passed.