-
Hello I was trying to compile my slint app on linux with skia, but for whatever reason it appears that ninja has failed compilation, can anyone help me out with this?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Is it possible that you don't have clang installed? It looks like it's compiling files with gcc that should be compiled with clang. |
Beta Was this translation helpful? Give feedback.
-
@tronical Thanks, ya it looks like it is looking at the default C compiler on the system instead of attempting to use clang directly. I'll play a little with system varibles, and hopefully that will solve it. |
Beta Was this translation helpful? Give feedback.
-
@tronical Your answer solved the previous problem, but I now get this error. Is this XY problem, should I mark your answer as the solution, and open a new discussion?
|
Beta Was this translation helpful? Give feedback.
Could you try adding
resolver = 2
in your workspace (under[workspace]
)? (related: https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html#details)