Cannot build weatherapp
troelsarvin opened this issue · 1 comments
troelsarvin commented
I'm trying to build the weatherapp demo on Fedora Linux 37.
First, I installed a number of packages which turned out to be required:
sudo dnf install cairo-devel cairo-gobject-devel gdk-pixbuf2-devel atk-devel pango-devel gtk3-devel libsoup-devel webkit2gtk4.0-devel libappindicator-gtk3-devel
All dependencies seem to be order now, but the build fails:
$ cargo build
Compiling weatherapp v0.1.0 (/var/tmp/troels/example-projects/weatherapp)
error[E0433]: failed to resolve: could not find `web` in `dioxus`
--> src/main.rs:4:13
|
4 | dioxus::web::launch(app);
| ^^^ could not find `web` in `dioxus`
For more information about this error, try `rustc --explain E0433`.
error: could not compile `weatherapp` due to previous error
Maybe there is an error in Carto.toml?
marc2332 commented
Hey! This appears to have been fixed, you need to use the Dioxus cli instead of Cargo though.
dioxus serve