使用vs code 编译阿里云sdk,出现这个问题。之前都是好的,把IDF更新了一下就成这样了,返回更新也不行

JothanWu
Posts: 1
Joined: Sat May 14, 2022 11:12 am

使用vs code 编译阿里云sdk,出现这个问题。之前都是好的,把IDF更新了一下就成这样了,返回更新也不行

Postby JothanWu » Sat May 14, 2022 11:14 am

> Executing task: d:\ESP32\TOOLS\python_env\idf4.4_py3.8_env\Scripts\python.exe d:\ESP32\IDF\tools\idf_size.py d:\ESP32\esp-ali-smartliving(2)\esp-ali-smartliving\examples\solutions\smart_light\build\smart_light.map <

usage: idf_size.py [-h] [--json] [--archives]
[--archive_details ARCHIVE_DETAILS]
[--files] [--target TARGET]
[--diff ANOTHER_MAP_FILE] [-o OUTPUT_FILE]
map_file
idf_size.py: error: argument map_file: can't open 'd:\ESP32\esp-ali-smartliving': [Errno 13] Permission denied: 'd:\\ESP32\\esp-ali-smartliving'
终端进程“C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command d:\ESP32\TOOLS\python_env\idf4.4_py3.8_env\Scripts\python.exe d:\ESP32\IDF\tools\idf_size.py d:\ESP32\esp-ali-smartliving(2)\esp-ali-smartliving\examples\solutions\smart_light\build\smart_light.map”已终止,退出代码: 1。

ESP_YJM
Posts: 300
Joined: Fri Feb 26, 2021 10:30 am

Re: 使用vs code 编译阿里云sdk,出现这个问题。之前都是好的,把IDF更新了一下就成这样了,返回更新也不行

Postby ESP_YJM » Mon May 16, 2022 3:54 am

这个应该是你 IDF 环境问题,你可以先试试编译 IDF 里基础的示例,比如 hello_world 看看能否编译。

esp_xinc
Posts: 1
Joined: Fri Jul 15, 2022 9:34 am

Re: 使用vs code 编译阿里云sdk,出现这个问题。之前都是好的,把IDF更新了一下就成这样了,返回更新也不行

Postby esp_xinc » Fri Jul 15, 2022 9:38 am

老哥,你的阿里云 SDK 可以发我下不,或者给我个连接哈,谢谢啦

kevin_me
Posts: 1
Joined: Mon Jul 25, 2022 4:35 pm

Re: 使用vs code 编译阿里云sdk,出现这个问题。之前都是好的,把IDF更新了一下就成这样了,返回更新也不行

Postby kevin_me » Mon Jul 25, 2022 4:42 pm

同样的问题啊,编译示例代码中的hello world也是报这个错,请问什么原因,谁能指导一下,非常感谢
Attachments
hello world.png
hello world.png (48.27 KiB) Viewed 1958 times


ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: 使用vs code 编译阿里云sdk,出现这个问题。之前都是好的,把IDF更新了一下就成这样了,返回更新也不行

Postby ESP_Gargamel » Tue Jul 26, 2022 2:51 am

像这种路径

Code: Select all

d:\ESP32\esp-ali-smartliving(2)
编译报错

Code: Select all

can't open 'd:\ESP32\esp-ali-smartliving'
这种明显已经告诉错哪了,路径上 ( 也不行。

Who is online

Users browsing this forum: No registered users and 27 guests