Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible missing bevy feature in Cargo.toml #24

Closed
39george opened this issue Aug 3, 2023 · 2 comments
Closed

Possible missing bevy feature in Cargo.toml #24

39george opened this issue Aug 3, 2023 · 2 comments

Comments

@39george
Copy link

39george commented Aug 3, 2023

Thanks for the update! I noticed that it won't compile in my project without bevy_pbr feature enabled in Cargo.toml:

2 | use bevy::pbr::{MAX_CASCADES_PER_LIGHT, MAX_DIRECTIONAL_LIGHTS};
  |           ^^^ could not find `pbr` in `bevy`

It is strange, because krypta example working without any issues..

and if someone uses bevy/dynamic_linking, crate-type = ["cdylib", "lib", "staticlib"] line in Cargo.toml causes this:

error: crate `bevy_dylib` required to be available in rlib format, but was not found in this form
@zaycev
Copy link
Owner

zaycev commented Aug 21, 2023

Thanks for reporting this. Seems like a small change, I will try to send a fix this week.

@zaycev
Copy link
Owner

zaycev commented Aug 24, 2023

Seems like #29 fixed it.

@zaycev zaycev closed this as completed Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants