Skip to content

Compile Errors with bevy_dylib on Windows10 - rust-lld: error: too many exported symbols (max 65535) #22

Closed
@bayswaterpc

Description

@bayswaterpc

I'm trying to get the bevy dynamic building feature working for faster build times. I have been able to get the bevy crate's examples building with the dynamic feature , so I know it is possible for bevy to build with dynamic on my machine with the following these steps

bevyengine/bevy#1126
https://bevyengine.org/learn/book/getting-started/setup/ - Fast Compile section

However, the bevy_egui is not working with those same steps. It does work with the dynamic feature removed. I've created a fork showing the changes I've made, just adding the fast compile .carg/config.toml file & "dynamic" feature to bevy dependency.

https://github.com/bayswaterpc/bevy_egui

It gives the following error when building any of the example targets
bevy_egui dynamic bevy error blob.txt

If anyone has been able to get this working on Windows would love some tips.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions