Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake Error on Build #3

Open
Root3287 opened this issue Nov 12, 2020 · 0 comments
Open

CMake Error on Build #3

Root3287 opened this issue Nov 12, 2020 · 0 comments

Comments

@Root3287
Copy link
Member

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant