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

Fails to build on Ubuntu 22 with dependency issue #134

Open
blind-oracle opened this issue Jul 31, 2023 · 4 comments
Open

Fails to build on Ubuntu 22 with dependency issue #134

blind-oracle opened this issue Jul 31, 2023 · 4 comments

Comments

@blind-oracle
Copy link

Ubuntu 22.

Does not build with the following error:

CMake Error at esp-idf/tools/cmake/build.cmake:463 (message):
  ERROR: Because project depends on idf (>=5.0.0,<5.1.0) which doesn't match
  any versions, version solving failed.

The same happens on MacOS

@rtrbt
Copy link
Contributor

rtrbt commented Aug 2, 2023

Same here. Are you building the release/v4.4 branch? esp-dl released a new version (2.0) that requires ESP-IDF 5.0. Running

git switch release/v1.1

in components/esp-dl fixed this for me.

@blind-oracle
Copy link
Author

blind-oracle commented Aug 2, 2023

Yes, now it works, thanks!

@me-no-dev
Copy link
Member

branch release/v5.1 is based on IDF 5.1 (which does not match the requirement 5.0<5.1). branch release/v4.4 is based on IDF 4.4.x and release/v3.3 is based on very old IDF v3.3. I guess none of the branches will work for you as-is, but best bet is to use the release/v5.1 branch and update the component that requires it to be less than 5.1

@EgorBelkov
Copy link

Debian 12 - same problem. As I understand it, this is due to the fact that git downloads the "master" version, which points to release 4.4, not 5.1

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

4 participants