Skip to content

CMake Error on Build #3

@Root3287

Description

@Root3287

Problem

People are getting an error that looks like the following when building the project

Cmake Error at uav_ros/CmakeLists.txt:1 (cmake_minimum_required):
    CMake 3.16 or higher is required. You are running version 3.13.4

When they run apt-get install cmake they get the most recent version (3.13.4).

Workaround

Install CMake 3.19 manually.

Go to the download page here and download the correct file. The execute the following commands

tar -xf cmake-[version].tar.gz
cd cmake-[version]
./bootstrap
make
sudo make install

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