简体   繁体   English

Dart SDK在Raspberry Pi上构建失败

[英]Dart SDK build failed on Raspberry Pi

I'm trying to build the Dart SDK on the Raspberry Pi platform following the instruction here . 我正在尝试按照此处的说明 Raspberry Pi平台上构建Dart SDK。

I'm compiling from Raspbian using the qemu emulator. 我正在使用qemu模拟器从Raspbian进行编译。

The build works until I get this exception: 构建工作直到出现此异常为止:

LD_LIBRARY_PATH=/home/pi/dart/dart/out/ReleaseARM/lib.host:/home/pi/dart/dart/out/ReleaseARM/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd runtime; mkdir -p /home/pi/dart/dart/out/ReleaseARM/obj/gen; python -u ../tools/make_version.py --output "/home/pi/dart/dart/out/ReleaseARM/obj/gen/version.cc" --input vm/version_in.cc
make_version.py exception
[Errno 2] No such file or directory
make: *** [out/ReleaseARM/obj/gen/version.cc] Error 255
BUILD FAILED

I've checked and the file version.cc does not exists in the specified folder. 我已经检查过,文件version.cc在指定的文件夹中不存在。

如此注释中所述,Raspbian env中的直接编译目前尚未测试或支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法在树莓派零 W 上加载 Dart SDK - Unable to Load Dart SDK on Raspberry Pi Zero W Dart可用于Raspberry Pi吗? - Is Dart available for Raspberry Pi? 在Windows上构建飞镖:构建失败 - building dart on windows: build failed asm / socket.h:没有这样的文件或目录交叉编译Dart for Raspberry pi - asm/socket.h: No such file or directory cross compiling Dart for Raspberry pi Webdev失败并发生意外异常(Dart SDK 2.0.0-dev.69.1) - Webdev failed with an unexpected exception (Dart SDK 2.0.0-dev.69.1) Google Dart内置的/ packages / $ sdk /文件夹是什么? - What is the /packages/$sdk/ folder inside a Google Dart build for? 构建 Dart SDK 时找不到 build.ninja - build.ninja is not found when building Dart SDK 安装 build_runner 时 Dart SDK 版本不匹配 - Dart SDK version mismatch while installing build_runner inject-dart 无法快照构建 script.dart_tool/build/entrypoint/build.dart。 这可能是由错误配置的构建器定义引起的 - inject-dart Failed to snapshot build script .dart_tool/build/entrypoint/build.dart. This is likely caused by a misconfigured builder definition Flutter 构建错误:Dart 2.13.1 与您的依赖项的 SDK 约束不兼容 - Flutter build error: Dart 2.13.1 is incompatible with your dependencies' SDK constraints
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM