Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

conan install fails due to zlib version conflict #215

Open
hrabalik opened this issue Apr 11, 2022 · 1 comment · May be fixed by #216
Open

conan install fails due to zlib version conflict #215

hrabalik opened this issue Apr 11, 2022 · 1 comment · May be fixed by #216

Comments

@hrabalik
Copy link

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.

@hrabalik
Copy link
Author

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

@hrabalik hrabalik linked a pull request Apr 11, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant