完善资料让更多小伙伴认识你,还能领取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> |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
961 浏览 1 评论
552浏览 6评论
461浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
446浏览 5评论
447浏览 4评论
417浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-26 04:02 , Processed in 0.804106 second(s), Total 76, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号