完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
Eclips编译警告,每次都有这个warning,看起来不顺眼,
不知道哪里有问题,编译结果是没问题的。 报错的中间信息如下,红色已标注: ............................ -- Found PythonInterp: C:/Users/dell/.espressif/python_env/idf4.3_py3.8_env/Scripts/python.exe (found version "3.8.7") -- Could NOT find Perl (missing: PERL_EXECUTABLE) CMake Warning (dev) at D:/esp-idf/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 "gatt_server_demos" version: 1 ................................ 然后按照说的,去执行了 "cmake --help-policy CMP0076" 命令,显示的结果如下,看不懂,求大佬指导一下: D:esp-idf>cmake --help-policy CMP0076 CMP0076 ------- The ``target_sources()`` command converts relative paths to absolute. In CMake 3.13 and above, the ``target_sources()`` command now converts relative source file paths to absolute paths in the following cases: * Source files are added to the target's ``INTERFACE_SOURCES`` property. * The target's ``SOURCE_DIR`` property differs from ``CMAKE_CURRENT_SOURCE_DIR``. A path that begins with a generator expression is always left unmodified. This policy provides compatibility with projects that have not been updated to expect this behavior. The ``OLD`` behavior for this policy is to leave all relative source file paths unmodified. The ``NEW`` behavior of this policy is to convert relative paths to absolute according to above rules. This policy was introduced in CMake version 3.13. CMake version 3.16.4 warns when the policy is not set and uses ``OLD`` behavior. Use the ``cmake_policy()`` command to set it to ``OLD`` or ``NEW`` explicitly. .. note:: The ``OLD`` behavior of a policy is ``deprecated by definition`` and may be removed in a future version of CMake. D:esp-idf> |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
198个成员聚集在这个小组
加入小组486 浏览 1 评论
1804 浏览 2 评论
为blufi_device设置自定义名称,但是无法修改,为什么?
388浏览 4评论
请问ESP32-S2-WROOM怎么获得ESP32-S2外接FLASH的唯一序列号?
179浏览 3评论
ESP-Jumpstart例程中第5个工程:5_cloud连接报错是哪里的问题?
225浏览 2评论
用AT+CIPSNTPCFG=1,8,\"cn.ntp.org.cn\",\"ntp.sjtu.edu.cn\"更新不了时间怎么处理?
578浏览 2评论
271浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-3-9 08:01 , Processed in 0.813468 second(s), Total 72, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191