乐鑫技术交流
直播中

李娓仑

7年用户 1350经验值
私信 关注
[问答]

esp32s3使用vs+idf配置目标芯片和编译ESP IoT Solution报错怎么解决?

请问,我在esp32s3使用vs+idf配置目标芯片ESP IoT Solution报下面的错误,我也有选择我所用USB下的cmake文件
我的idf版本是5.2.1,ESP IoT Solution版本是最新的,idf自带的例程可以正常编译烧录
[Error: non zero exit code 2

WARNING: Python interpreter "D:workESP32Espressifpython_envidf5.2_py3.11_envScriptspython.exe" used to start idf.py is not from installed venv "D:/work/ESP32/Espressif/python_env/idf5.2_py3.11_env"
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Executing action: set-target
Set Target to: esp32s3, new sdkconfig will be created.
Running cmake in directory D:workESP32esp-projectesp-iot-solution-masterbuild
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=D:workESP32Espressifpython_envidf5.2_py3.11_envScriptspython.exe -DESP_PLATFORM=1 -DIDF_TARGET=esp32s3 -DCCACHE_ENABLE=0 D:workESP32esp-projectesp-iot-solution-master"...
-- Found Git: D:/work/ESP32/Espressif/tools/idf-git/2.43.0/cmd/git.exe (found version "2.43.0.windows.1")
-- Component directory D:/work/ESP32/esp-project/esp-iot-solution-master/components/audio does not contain a CMakeLists.txt file. No component will be added
-- Component directory D:/work/ESP32/esp-project/esp-iot-solution-master/components/bluetooth does not contain a CMakeLists.txt file. No component will be added
在我吧usb/divice/usb dongle下cmake移动到根目录下不再报这个错误但是编译时头文件不识别了
请问我是否有漏掉那些步骤或者那些步骤不对?
                                                                                                                                                        

回帖(1)

更多回帖

发帖
×
20
完善资料,
赚取积分