Skip to content

Issue with CMake Configuration During Installation of mapmos #40

@Jonathan5345

Description

@Jonathan5345

Hello,

I hope you're doing well. I am currently facing an issue with the CMake configuration while attempting to install the mapmos project. When running the make editable command, I encounter the following error:

CMake Error at /home/jonathan/MapMOS/build/_deps/sophus-src/CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 3.5 has been removed from CMake.

    Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
    to tell CMake that the project requires at least <min> but has been updated
    to work with policies introduced by <max> or earlier.

    Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

I am using CMake 4.0.0, but the installation process suggests that the minimum required version of CMake is 3.5, and it is not compatible with older CMake configurations. The error message indicates that some settings need to be updated to support newer versions of CMake.

I have already attempted the following solutions in hopes of resolving the issue:

  1. Updated CMake to version 4.0.0.
  2. Used -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to force the minimum version setting.
  3. Cleaned and rebuilt the project.

Unfortunately, the issue persists. If you have any insights or guidance on how to address this, I would greatly appreciate your help. Are there any recommended configuration changes or dependencies that I should adjust?

Thank you so much for your time and assistance, and I look forward to your advice!

Best regards,
Jonathan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions