Skip to content

txp666/otto-emoji-gif-component依赖报错 #10

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

Open
formoon opened this issue Jun 12, 2025 · 1 comment
Open

txp666/otto-emoji-gif-component依赖报错 #10

formoon opened this issue Jun 12, 2025 · 1 comment

Comments

@formoon
Copy link

formoon commented Jun 12, 2025

编译报错:
CMake Error at /Users/andrew/esp/esp-idf/tools/cmake/build.cmake:610 (message):
ERROR: Because project depends on txp666/otto-emoji-gif-component (~1.0.2)
which doesn't match any versions, version solving failed.

78/xiaozhi-esp32版本编译没有问题,也有这个库。
我知道咱们这里不需要这个库,在yml中屏蔽掉的确没有问题。

但好奇啊,找不到原因。
尝试换成>=、>都不成。
重新add,add成功也不成。

在一个小项目中加入这个依赖编译没有问题。

求解。

@formoon
Copy link
Author

formoon commented Jun 12, 2025

可能找到问题了,txp666/otto-emoji-gif-component 这个包中没有标注支持c2,所以如果是新git clone下载的项目DOIT_AI,直接设置esp32c2是会报上面错误的。先设置支持的mcu比如c3/s3,完成txp666/otto-emoji-gif-component 下载,然后再设置esp32c2,就不报错了。
按说add这个包也能完成添加依赖、下载txp666/otto-emoji-gif-component ,但会报错。按上面的顺序折腾一下就不会,不知道esp-idf工具链怎么一个逻辑 。

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