-
Notifications
You must be signed in to change notification settings - Fork 39
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
examples does not compile #6
Comments
Please note that it works for:
|
The optick crate only provides windows binaries, so the error when running the first command on linux is expected. For the second error, I'm not certain, but my guess is that this change (imgui-rs/imgui-rs@7e2293b#diff-f54c36ae82d7f23d02ea587211a3211db799fabe7b22c4eb5bad39bcc8fcfa7d) has caused imgui_winit_support to use winit 0.24 and everything else to use 0.23, leading to these errors. You can try running:
to confirm if this is the correct issue. Or something like this:
"multiple versions of winit at once" seems to happen a lot sadly |
Therefore maybe it's god to block optick code by adding something like?
Or maybe use some macros to get on Linux more meaningful error message? (or comment in build file too?) |
I've added clearer messaging to the readme on platform support, so hopefully that helps! The other build error can be fixed with |
(It's also worth noting that winit 0.24 is required for apple silicon support) |
Fixed it by forcing imgui_winit_support = "=0.6.0" Added issue here: imgui-rs/imgui-rs#412 - I'm hoping we can find a better long term solution than pinning an exact version |
After running copy&paste form examples section:
OR
Things does not compile.
Error for second "only puffing" example:
for first example :
Using:
It happens when using
+stable
and+nightly
The text was updated successfully, but these errors were encountered: