尝试在ESP32上运行应用程序时出错

发布于 2025-02-09 21:11:15 字数 815 浏览 0 评论 0原文

自2月以来,我是第一次返回TOIT,当我尝试运行该应用时,我遇到了一个奇怪的问题:

micrcx@micrcx-desktop:~/toit_apps$ toit -d=dell run bubble_sort.toit
2022-06-22T20:21:52.332+0300    WARN    Compiler.toitc  compiler/compiler.go:299        /home/micrcx/.cache/toit/sdk/v1.6.20/toitc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/micrcx/.cache/toit/sdk/v1.6.20/toitc)
/home/micrcx/.cache/toit/sdk/v1.6.20/toitc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/micrcx/.cache/toit/sdk/v1.6.20/toitc)

File not found: '/home/micrcx/toit_apps/bubble_sort.toit'

但是文件存在:

micrcx@micrcx-desktop:~/toit_apps$ ls -al bubble_sort.toit
-rw-r--r-- 1 micrcx micrcx 326 Mar 10  2021 bubble_sort.toit
micrcx@micrcx-desktop:~/toit_apps$ 

I'm back to toit for the first time since February and I'm having a strange problem when I try to run the app:

micrcx@micrcx-desktop:~/toit_apps$ toit -d=dell run bubble_sort.toit
2022-06-22T20:21:52.332+0300    WARN    Compiler.toitc  compiler/compiler.go:299        /home/micrcx/.cache/toit/sdk/v1.6.20/toitc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/micrcx/.cache/toit/sdk/v1.6.20/toitc)
/home/micrcx/.cache/toit/sdk/v1.6.20/toitc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/micrcx/.cache/toit/sdk/v1.6.20/toitc)

File not found: '/home/micrcx/toit_apps/bubble_sort.toit'

But the file exists:

micrcx@micrcx-desktop:~/toit_apps$ ls -al bubble_sort.toit
-rw-r--r-- 1 micrcx micrcx 326 Mar 10  2021 bubble_sort.toit
micrcx@micrcx-desktop:~/toit_apps$ 

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夏尔 2025-02-16 21:11:15

toit可执行文件是在带有最新glibc的机器上构建的。

有两个可以解决此问题的选项:

  1. 升级Linux
  2. TOIT团队构建toit可执行文件,而无需依赖于最近的GLIBC。

多亏了您的报告,2。要简单得多,因为没有GLIBC依赖性的新版本正在使用。

The toit executables were built on a machine with a recent glibc.

There are two options to fix this issue:

  1. upgrade your Linux
  2. the Toit team builds the toit executables without dependencies to a recent glibc.

Thanks to your report, 2. is much simpler, as a new version without the glibc dependency is being worked on.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文