ESP-AT编译出错
Posted: Fri Nov 26, 2021 12:39 pm
出现以下报错信息,ESP-IDF版本为4.3,编译例程正常
C:\Users\chen\esp\esp-at>idf.py menuconfig
Executing action: menuconfig
Running cmake in directory c:\users\chen\esp\esp-at\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 c:\users\chen\esp\esp-at"...
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:/Users/chen/esp/esp-at/module_config/module__default/sdkconfig.defaults
CMake Error at CMakeLists.txt:53 (include):
include could not find load file:
C:/Users/chen/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:55 (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:55 (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:/Users/chen/esp/esp-at/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/chen/esp/esp-at/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1
C:\Users\chen\esp\esp-at>idf.py menuconfig
Executing action: menuconfig
Running cmake in directory c:\users\chen\esp\esp-at\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 c:\users\chen\esp\esp-at"...
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:/Users/chen/esp/esp-at/module_config/module__default/sdkconfig.defaults
CMake Error at CMakeLists.txt:53 (include):
include could not find load file:
C:/Users/chen/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:55 (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:55 (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:/Users/chen/esp/esp-at/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/chen/esp/esp-at/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1