一开始我是使用IDF4.4.7来尝试编译ESP-WHO的示例工程的。尝试了很久都没有成功。会报如下类似的错误
------------------------------------------------------------------------------------------------------------------------------------
Dependencies lock doesn't exist, solving dependencies.
CMake Error at E:/Espressif_5.0.4/frameworks/esp-idf-v5.0.4/tools/cmake/build.cmake:519 (message):
WARNING: Component "espressif/esp32-camera" not found
WARNING: Component "espressif/esp32-camera" not found
WARNING: Component "espressif/esp32_s3_eye_noglib" not found
WARNING: Component "espressif/mdns" not found
HINT: Please check manifest file of the following component(s): modules
ERROR: Because project depends on espressif/mdns (^1) which doesn't match
any versions, version solving failed.
Call Stack (most recent call first):
E:/Espressif_5.0.4/frameworks/esp-idf-v5.0.4/tools/cmake/project.cmake:530 (idf_build_process)
CMakeLists.txt:8 (project)
.-- Configuring incomplete, errors occurred!
See also "E:/esp-who-master/examples/human_face_detec
tion/web/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1, output of the command is in the E:esp-who-masterexampleshuman_face_detectionwebbuildlogidf_py_stderr_output_22676 and E:esp-who-masterexampleshuman_face_detectionwebbuildlogidf_py_stdout_output_22676
----------------------------------------------------------------------------------------------------------------------------------
然后我把IDF版本切换到了5.0.4(上个版本没删),编译还是不通过,会报上面类似的错误(每次安装都测试过IDF,能编译IDF自带的示例工程)。但是我在虚拟机(Linux)上安装IDF5.0的版本,能编译通过。还有在以前没下载过IDF的电脑中,用IDF5.0.4版本都能编译通过。
可能是我删除IDF的方式有问题,我是直接将IDF文件夹直接删除的(在本次遇到问题前就在电脑上换过一次IDF版本)。关于我遇到的这个情况,有解决办法吗?