Skip to content

Clean install with cmake 4.x failed to build #965

@schaubh

Description

@schaubh

Describe the bug
With cmake version 4.0 a clean install fails to build if built with vizInterface or opNav build options set to True. The issue is specifically with zeromq/4.3.5 that fails to build with the new cmake. This is because zeromq is asking for cmake version 3.5, and version 4.0 now requires at code compile with at least 3.10. As a consequence, all the GitHub CI builds on a branch started failing as well.

To reproduce
Steps to reproduce the behavior:

  1. Remove prior .conan2 folder
  2. Install cmake 4.0
  3. The build will fail when conan is trying to install zeromq/4.3.5

Expected behavior
The fresh install and build should complete without issues.

Desktop (please complete the following information):

  • OS: was happening with macOS, Linux and Windows
  • Version: all the latest OS versions on the CI tests
  • Python version: all the CI tests failed (i.e. python 3.8 to 3.12)

Additional context
We need to ensure that cmake<4.0 is installed. We need to update the install instructions to have cmake be installed via pip in the virtual python environment. This way the user will be using a BSK sanctioned version of cmake, and can user other versions of cmake for other projects.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentation

Type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions