完善资料让更多小伙伴认识你,还能领取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> |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
933 浏览 0 评论
1653 浏览 0 评论
请问一下我想用ESP8685直接替换ESP8266而不用写程序,可以让ESP8685直接通过之前ESP8266的外挂的flash运行程序吗
1284 浏览 1 评论
1218 浏览 1 评论
4959 浏览 2 评论
为blufi_device设置自定义名称,但是无法修改,为什么?
1249浏览 4评论
请问ESP32-S2-WROOM怎么获得ESP32-S2外接FLASH的唯一序列号?
927浏览 3评论
2324浏览 3评论
ESP-IDF的VScode插件的build按钮点击会报错的原因?
2523浏览 3评论
ESP-Jumpstart例程中第5个工程:5_cloud连接报错是哪里的问题?
1051浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 16:07 , Processed in 3.833260 second(s), Total 70, Slave 53 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
22705
