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

esp-idf-sys fails to build because of CMake version #233

Open
MathyV opened this issue Aug 14, 2023 · 0 comments
Open

esp-idf-sys fails to build because of CMake version #233

MathyV opened this issue Aug 14, 2023 · 0 comments

Comments

@MathyV
Copy link

MathyV commented Aug 14, 2023

On an older system (in this case Mint Una), where cmake < 3.20, the build will fail claiming that you need at least version 3.20 of cmake. Embuild installs a custom cmake in ~/.espressif/tools/cmake but it doesn't seem to be used (in all cases?).

A workaround is adding export PATH="${HOME}/.espressif/tools/cmake/3.24.0/bin/:${PATH}" to export-esp.sh, after which the build does go through.

The version installed in the system is 3.16 btw. Mint Una and Ubuntu Focal on which it is based are LTS until April 2025.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant