platformio 提示 fatal error: TimeLib.h: No such file or directory 的解决方案

在platformio编译arduino项目的时候,如果提示fatal error: TimeLib.h: No such file or directory,解决方法有2:

方法1:

在项目的platformio.ini文件中,添加

lib_deps =
    # Using library Id
    44

方法2:

通过library添加到项目中
在这里插入图片描述
然后platformio.ini会自动修改:

lib_deps = 
	paulstoffregen/Time@^1.6.1

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-02-17 04:36:03       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-02-17 04:36:03       100 阅读
  3. 在Django里面运行非项目文件

    2024-02-17 04:36:03       82 阅读
  4. Python语言-面向对象

    2024-02-17 04:36:03       91 阅读

热门阅读

  1. LeeCode 546 区间 DP

    2024-02-17 04:36:03       49 阅读
  2. 蓝桥杯刷题--python-6

    2024-02-17 04:36:03       64 阅读
  3. 2024/02/15

    2024-02-17 04:36:03       45 阅读
  4. Python OpenCV 牛刀小试(练习)

    2024-02-17 04:36:03       45 阅读
  5. 英伟达(NVIDIA)和CUDA

    2024-02-17 04:36:03       53 阅读
  6. 洛谷C++简单题小练习day13—文字处理软件

    2024-02-17 04:36:03       44 阅读
  7. react中render阶段做了什么

    2024-02-17 04:36:03       54 阅读
  8. 作业2.15

    2024-02-17 04:36:03       42 阅读