[已解决] ESP32工程编译提示错误
Posted: Wed Jun 23, 2021 1:31 pm
刚开始用,编译Hello world 时,idf.py set-target esp32, 出现下述错误,但 idf.py set-target esp32s2,则正常编译,请问该怎么解决?网上没有找到相关办法,看得懂提示的英文说明,但不知道要具体怎么操作。。。
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
CMake Warning (dev) at ../../../components/mbedtls/CMakeLists.txt:114 (target_sources):
Policy CMP0076 is not set: target_sources() command converts relative paths
to absolute. Run "cmake --help-policy CMP0076" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
A private source from a directory other than that of target "mbedcrypto"
has a relative path.
This warning is for project developers. Use -Wno-dev to suppress it.
-- App "hello-world" version: v4.3-dirty
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
CMake Warning (dev) at ../../../components/mbedtls/CMakeLists.txt:114 (target_sources):
Policy CMP0076 is not set: target_sources() command converts relative paths
to absolute. Run "cmake --help-policy CMP0076" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
A private source from a directory other than that of target "mbedcrypto"
has a relative path.
This warning is for project developers. Use -Wno-dev to suppress it.
-- App "hello-world" version: v4.3-dirty