Comments (4)
Hi, thanks for the report!
What version of macOS are you running?
The bug is seems to be in the underlying windowing library https://github.com/tauri-apps/tao.
Can you try to run one of their examples and see if you get the same error?
For now, can you try to cargo clean
and cargo update
to see if it's a caching problem?
from dioxus.
Hi,thanks for helping!
my macOS version is 10.15.4
I tried to run the tao's example as you required and found the same problem
I also use cargo command as you list but is not work.
from dioxus.
I looked on the tauri repo and the problem seems to arrive from nightly?
Can you try making sure you're on stable?
If so, then (following their instructions), make a build.rs
with these contents:
fn main() {
println!("cargo:rustc-link-lib=framework=ColorSync");
}
If that fixes it, we can add that to our build.rs.
If not then we need to reopen that issue.
from dioxus.
as you say, I have solved the problem by change the rust version to stable version!!
Thanks for helping
from dioxus.
Related Issues (20)
- Collect data about builds with dx and output it somewhere HOT 3
- dx fmt deletes comments HOT 5
- `ValueDroppedError when redrawing` in `dioxus-core-0.5.1/src/events.rs` HOT 2
- `cannot reclaim ElementId(384)` in `dioxus-core-0.5.1/src/arena.rs:57:32` when redrawing HOT 2
- Desktop: Error setting the App Icon
- [Desktop] Asset inclusion not working HOT 1
- `use_effect` not running when writing to signal asynchronously HOT 1
- dx new in existing multicrate workspace HOT 1
- `dx build --release` doesn't read the `[profile.release]` table from `Cargo.toml` (`strip` doesn't work) HOT 10
- Route order matters between url string and enum fields
- Add ability to configure "always on/pin to top" option for the Dioxus Desktop HOT 3
- Dynamic rendering unresponsive for if-else-expressions where expressions are Fragments
- Shorthand notation breaking rsx! macro with conditional rendering
- `rustflags` in `./cargo/config.toml` being ignored HOT 2
- use_callback should take a closure that accepts an argument HOT 1
- Call `.into()` automatically for the default value when deriving `Props`
- use of unstable library feature 'proc_macro_byte_character' HOT 1
- Dioxus CLI MSRV
- live reload doesn't work when just modifying the css file HOT 2
- Assigning a port number when using `dx serve --port [number]` on fullstack is not respected. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dioxus.