-
Notifications
You must be signed in to change notification settings - Fork 675
Problems with the hello world example not compilling. #3877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is a very strange error. I've never seen this bebore. The slint crate depends on the slint-macros crate so this shouldn't happen. |
|
after a bit of trouble, not having the right libraries and bad errors, i got the same error after deleting the target dir |
Can you maybe paste your Cargo.toml ? |
|
but commenting out [build-dependencies] and updating to 1.2.0 didnt fix it. |
Can you paste the contents of /home/lenovo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/slint-1.2.2/Cargo.toml Can you paste the output of For example, in my case, this is the build line for slint:
And it does include |
|
could you do a cargo clean, and then paste the full output of cargo with Anyway, this error is really strange and that looks like a rust or cargo bug to me. Never seen it before. I don't think this is a problem in Slint |
welp give me a second. |
so even after cleanup, i get the same error. |
Please provide us with the output of |
|
please copy or attach the whole log. |
|
Thanks, the interresint line is
And it does pass the slint_macro as a crate in its argument: Does that libslint_macros-8016e1eedcf8f170.so file actually exists? Is it the right format to be loaded by rustc? |
yes
I dont think so. |
Ok intresting, I have tested it on another PC and got the same error as before, it is PureOS a Debian derivative, logs down bellow.
|
That's not the same error. That's probably because you removed the build depenency in your Cargo.toml [build-dependencies]
slint-build = "1.0" |
okay adding that did fix it. |
As mentioned in rust-lang/cargo#12935 , this looks like this is bug rust-lang/rust#115073 |
why cant it find slint_macros?
it has compiled it and it is literally hello world example.
The text was updated successfully, but these errors were encountered: