安装
Entelechy 目前需要从源码构建。仓库是私有的(Fynn-3D/entelechy),你需要有访问权限。
-
Rust 1.93 或更高版本(工作区
rust-version = "1.93",edition 2024)。用 rustup 安装:终端窗口 rustup update stablerustc --version # 应 ≥ 1.93 -
Git,以及能访问私有仓库的 GitHub 账号。
-
可选:要构建窗口程序
entelechy-player,Linux 上需要pkg-config与 libudev 开发包(例如 Debian/Ubuntu 的pkg-config libudev-dev);GPU 后端需要可用的 Metal / Vulkan / DX12 适配器。
获取源码并构建
Section titled “获取源码并构建”git clone https://github.com/Fynn-3D/entelechy.gitcd entelechycargo build --releasecargo build --release 会把所有程序放进 target/release/:
| 程序 | 作用 |
|---|---|
entelechy |
命令行:new、check、run、render、replay、serve、trace、graph、bench… |
entelechy-player |
在窗口中打开场景并实时热更新 |
entelechy-import / entelechy-export |
导入 glTF、音频、MIDI、SVG、字体;导出为 GLB、WAV、MIDI、字体 |
libentelechy_ffi |
C ABI 动态库,见嵌入与桥接 |
只想要命令行,可以只构建它(更快,也不需要 libudev):
cargo build --release -p entelechyentelechy version应输出类似:
entelechy = 0.0.2-rc.3entelechy.api = 1entelechy.language = 3entelechy.ir = 1entelechy.package = 1再运行第一个示例:
entelechy run examples/grayscale/scene.esn --out gray.pngentelechy replay examples/grayscale/tests/grayscale.replayevaluated in 1.24ms: executed [gray+source, blocks], reused 0 -> gray.pngexamples/grayscale/tests/grayscale.replay: ok (1 frames, 5 checks)运行测试套件(可选)
Section titled “运行测试套件(可选)”cargo build --workspacecargo test --workspaceBlender、Godot、headless Chrome 和 C 编译器的桥接测试在相应工具缺失时会自动跳过。仓库自己的完整验证流程是 cargo xtask verify(见参与贡献)。
- 第一个项目:用
entelechy new生成一个能跑的项目。

