Skip to content

Win10: Trying to link Bevy dynamically results in the error STATUS_ENTRYPOINT_NOT_FOUND #1126

@TheZalli

Description

@TheZalli

Bevy version

0.4

Operating system & version

Windows 10, version: 1909, OS build: 18363.1256, 64-bit

What you did

I ran the binary with cargo run --features bevy/dynamic as instructed by the Bevy book. I believe I had the correct software and the given config.toml file at the folder .cargo

What you expected to happen

The game running regularly and opening my screen, just like when not using the features flag.

What actually happened

After the cargo started running the application, it exited with the error message:
error: process didn't exit successfully: `target\debug\<crate>.exe` (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND)

Additional information

The current code is basically a very slightly modified version of the 3d scene example from the repo, with only main.rs in the src folder and no other dependencies besides Bevy 0.4.

I tried removing the "-Zshare-generics=y" flag from .cargo/config.toml, and also running it with stable. Both variations had the same result and message.

When I had only the cargo's autogenerated helloworld in my main.rs, the binary functioned normally with and without the flag, which is why I believe that my setup should be correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-StartupA crash that occurs when first attempting to run a Bevy appO-WindowsSpecific to the Windows desktop operating system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions