cannot run the release executable file; missing libbevy_dylib. [Ubuntu] #14305
-
help ! ./BevyPractice: error while loading shared libraries: libbevy_dylib-f672a45218b83a74.so: cannot open shared object file: No such file or directory
My command to build release: I searched, and someone said that I need to remove Here is my [target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = [
"-Clink-arg=-fuse-ld=lld",
]
[target.x86_64-apple-darwin]
rustflags = [
]
[target.aarch64-apple-darwin]
rustflags = [
]
[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"
rustflags = [
]
[alias]
ci = "run --package ci --" And here is [package]
name = "BevyPractice"
version = "0.1.1"
edition = "2021"
[dependencies]
bevy = { version = "0.14" }
mo_editor = { path = "crates/mo_editor" }
mo_std = { path = "crates/mo_std" }
[workspace]
members = ["crates/*"]
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
I just want to test the workflow from creation to coding and finally building and sending the executable file to someone else. But I am stuck at this point. One more thing, which files do I need to send if I want to send my game to someone else? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Check the |
Beta Was this translation helpful? Give feedback.
Check the
Cargo.toml
ofmo_editor
,mo_std
or their dependencies, one of them is enabling thedynamic_linking
feature forbevy
, and you should remove it when building in release mode.