Skip to content

[Bug] CMake issues on Debian 11 when building zenoh-cpp #760

@guill-delacourt

Description

@guill-delacourt

Describe the bug

I'm trying to add zenoh-cpp 1.8.0 to a Debian 11 docker image for continuous integration purposes, and I encounter a CMake error when building zenoh-cpp.

I was able to build and install zenoh-c and zenoh-pico before in that image.

Debian 11 has CMake 3.18.4, and zenoh-cpp indicates it needs at least CMake 3.16, so I expect to be able to build zenoh-cpp on that system.
I didn't encounter problems when building for Debian 12 (CMake 3.25), Ubuntu 22.04 (CMake 3.22), or Almalinux 8 (CMake 3.26).

I've attached the error trace.
zenoh-cpp-error.txt

To reproduce

  1. Start with a Debian 11 docker image.
  2. Compile and install zenoh-c and zenoh-pico
  3. Launch the CMake command for zenoh-cpp
  4. See error in attached file

System info

  • Platform: Debian 11 (docker image)
  • CPU : N/A
  • zenoh-cpp : 1.8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions