#Can't add dynamic_linking feature in bevy

26 messages · Page 1 of 1 (latest)

median cairn
#

Hi I've tried to make a new project with bevy 0.15 and I've tried to add a dynamic_linking but It gives me an error (on the screenshot)

median cairn
#

Resolved

winter estuary
#

@median cairn how did you resolve it? i think i may have a similar issue

median cairn
winter estuary
#
[package]
name = "bounce"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bevy = { version = "0.15", features = ["dynamic_linking"] }
bitmaps = "3.2"```
median cairn
#

So basically you have to change 0.15 to 0.15.0

#

And then do cargo run

#

You could also to be sure delete the target folder

#

Before cargo run

#

@winter estuary

winter estuary
#

sadly it still isn't working
but not too surprising, my project was compiling it just crashes instantly

#

thanks for the advice

median cairn
#

If it crushes then probably there is something in the code

#

Are you using the github or other version control?

#

If yes then just revert back to the last time it worked

#

And compare the code

winter estuary
#

well, it worked with 0.14

#

and not with 0.15

#

modulo changes to make it compile

median cairn
#

Have you looked at the migration guide?

#

Or maybe one of the crates that you are using was not updated to bevy 0.15

winter estuary
#

i mean you've seen my toml file

#

it's just bevy and bitmaps

#

i have my own help post where i explain the situation

median cairn
#

Okay I will take a look at it