#Error trying to set window icon

7 messages · Page 1 of 1 (latest)

ornate spear
#

I am trying to change the window icon of my game. I followed the cheat book but I'm getting an error on "image::open" that states:

failed to resolve: use of undeclared crate or module `image`
use of undeclared crate or module `image`rustcClick for full compiler diagnostic
main.rs(216, 21): a struct with a similar name exists: `Image`
#

My code is the same as the one in the example

hybrid tulip
#
image = "0.24"
ornate spear
#

Oh

#

I hadn't added that.