-
Notifications
You must be signed in to change notification settings - Fork 11
Description
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:
- Updated CMake to version 4.0.0.
- Used
-DCMAKE_POLICY_VERSION_MINIMUM=3.5to force the minimum version setting. - 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