乐鑫技术交流
直播中

张国厚

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

求助,win10 vscode编译esp-at失败,请问有对应最新版的教程吗?

用下面网页的教程安装流程,安装成功,

=====================================================================================================

使用ESP-IDF launch GUI configation tool失败,停留在 ESP-IDF :Menuconfig: loading initial values.. 提示窗口。



输出显示:

---------------------------ERROR--------------------------



CMake Error at CMakeLists.txt:9 (string):



-----------------------END OF ERROR-----------------------

---------------------------ERROR--------------------------



  string no output variable specified





CMake Error at CMakeLists.txt:13 (string):

  string begin index: 9 is out of range 0 - 0





CMake Error at CMakeLists.txt:14 (string):

  string sub-command STRIP requires two arguments.





CMake Error at CMakeLists.txt:15 (string):

  string no output variable specified





silence:0 sdkconfig:C:/ESP/esp-at/module_config/module__default/sdkconfig.defaults



-----------------------END OF ERROR-----------------------

---------------------------ERROR--------------------------



CMake Error at CMakeLists.txt:49 (include):



-----------------------END OF ERROR-----------------------

---------------------------ERROR--------------------------



  include could not find load file:



-----------------------END OF ERROR-----------------------

---------------------------ERROR--------------------------





    C:/ESP/esp-at/esp-idf/tools/cmake/project.cmake







-----------------------END OF ERROR-----------------------

-- The C compiler identification is unknown





=====================================================================================================



使用ESP-IDE Build project,也失败,终端窗口提示

> Executing task: cmake -G Ninja .. <



CMake Error at CMakeLists.txt:9 (string):

  string no output variable specified        





CMake Error at CMakeLists.txt:13 (string):   

  string begin index: 9 is out of range 0 - 0





CMake Error at CMakeLists.txt:14 (string):

  string sub-command STRIP requires two arguments.





CMake Error at CMakeLists.txt:15 (string):

  string no output variable specified





silence:0 sdkconfig:C:/ESP/esp-at/module_config/module__default/sdkconfig.defaults

CMake Error at CMakeLists.txt:49 (include):

  include could not find load file:



    C:/ESP/esp-at/esp-idf/tools/cmake/project.cmake





-- The C compiler identification is unknown

-- The CXX compiler identification is unknown

CMake Error at CMakeLists.txt:51 (project):

  No CMAKE_C_COMPILER could be found.



  Tell CMake where to find the compiler by setting either the environment

  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to

  the compiler, or to the compiler name if it is in the PATH.





CMake Error at CMakeLists.txt:51 (project):

  No CMAKE_CXX_COMPILER could be found.



  Tell CMake where to find the compiler by setting either the environment

  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path

  to the compiler, or to the compiler name if it is in the PATH.





-- Configuring incomplete, errors occurred!

See also "C:/ESP/esp-at/build/CMakeFiles/CMakeOutput.log".

See also "C:/ESP/esp-at/build/CMakeFiles/CMakeError.log".

终端进程“C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake -G Ninja ..”已终止,退出代码: 1。



终端将被任务重用,按任意键关闭。



=========================================================================

command 编译,使用 ./build.py menuconfig 命令也无法成功。

请问是不是当前版本的安装流程不同?

哪里有对应当前版本 esp-at 使用 vscode 的esp-idf扩展编译的教程?

更多回帖

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