-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
example broken #365
Comments
That's a bit weird, looks like shade_runner isn't compiling. Kind of weird because I haven't changed anything in it but I'll check it out |
Which version of rust are you using? It might be worth running |
Hi Davide! Super exciting to have you visit :) As @freesig says it does look a little like you might have an old version of Rust installed, is that possible? Nannou is pretty bleeding edge at the moment so there's a good chance updating Rust might fix this! Feel free to join us on slack too if you feel like chatting in realtime :) |
Hello Mitch, hello Tom, thanks for your support ;). Yes,
The |
Ahhh I think @freesig also uses zsh and I remember they mentioned something about this - I'm sure they will have the hot tip for you once AUS wakes up :) In the meantime, I believe that the molten SDK installer is trying to find where to add the following environment variables:
Is there somewhere you can put these to make them accessible to zsh? |
Hey this isn't a env var issue. It looks like this is related to |
Hello @freesig , this is the output:
|
You're right @freesig, looks like the Anyways, I've been searching for a way to check for supported image formats, but it looks like the necessary functionality isn't exposed from vulkano yet vulkano-rs/vulkano#1020. I might see if we can import vk-sys directly and implement the necessary function. There's a great demo of how to find supported depth image formats in the vulkan tutorial. |
Hmmm it looks like this is going to require access to the Vulkan @freesig seeing as we're going to probably switch from vulkano at some point in the near future, I might just try and achieve this by creating a tiny depth image with a few candidate formats that are in order of preference and return the first one that succeeds. This is basically what the vulkan tutorial suggests but without the actual image creation, but I don't really see a way around it for now that doesn't involve investing more time into vulkano when we're going to switch away from it anyways. |
#303 related |
The current implementation is a bit of a hack but at least enables users who are blocked by this while we work out a proper solution in the meantime! Closes nannou-org#303. Related to nannou-org#365 (should hopefully close it).
Now it compiles but the sketch is animated just if select the window and I move it over the screen, otherwise the sketch it is not animated. |
Yeh this is one major shortcoming of vulkano and just not being able to get hold of raw vulkan means anytime we need to do something that vulkano doesn't handle then we will need to patch vulkano. |
Are you getting any output in the terminal. I'll test this as well and see if I can replicate it. |
No output unfortunately |
Ok I just ran this on my mac and it's working fine. |
Are you on the |
Sorry to answer so late, this is the content of the file:
Mac OS version 10.11.6 |
I got this error on Mac Mojave 10.14
|
Hi @ookangzheng! This seems like a different issue - it looks like you might need to install |
I have tried the examples: Let me know if you want me to try some specific example |
Hey! i wanted to try out nannou but the example that appears in https://guide.nannou.cc/getting_started/running_examples.html looks broken:
When I run
cargo run --release --example simple_draw
I receive:The text was updated successfully, but these errors were encountered: