Open BlueStaggo opened 2 years ago
Kind of a duplicate of https://github.com/bevyengine/bevy/issues/1110 except this is on MinGW while #1110 is on MSVC I believe.
From reading #1110, I managed to fix this by installing the nightly version of Rust and putting this into %USERPROFILE%\.cargo\config.toml:
[build]
rustflags = ["-Z", "share-generics=off"]
However, using this makes the program quit with error code 0xc0000409.
This features work for me when i updated the msvc compiler to 2022 17.2 before i had the version 17.1, (relatively recent ) And i m working with the msvc toolchain I don't know if that can help you
I'm also getting this while running with MSYS2/MINGW64
error: export ordinal too large: 218308
Can confirm this is still an issue
https://github.com/bevyengine/bevy/blob/main/.cargo/config_fast_builds .cargo/config.toml
https://github.com/bevyengine/bevy/blob/main/.cargo/config_fast_builds .cargo/config.toml
This link does not have a file anymore. Also, I am still getting the same issue
What you did
Compiling my Bevy app was taking too long for me. I decided to add in the "dynamic" feature to try to speed up compilation, but bevy_dylib would not compile due to "export ordinal too large: 217681".
What you expected to happen
bevy_dylib would compile without the export ordinal error.
What actually happened
bevy_dylib has too large of an export ordinal.
Additional information
The reason why I'm using gcc is because I cannot install Visual C++. Here is my Cargo.toml:
And here is the console output for cargo run, after downloading Bevy with its base features: