-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Won't build on Windows with x86_64-pc-windows-gnu #346
Comments
I believe this is related to |
Thank you for the quick response! Unfortunately, when I fix the spirv_cross issue, by adding TDM-GCC's g++ to the path, although I get an exe that runs, it creates a blank window. I have a simple "hello world" gui as described in the documentation, and it works fine on Linux so the code is probably correct. |
Maybe gfx-rs/wgpu#464 helps? Especially the
from gfx-rs/wgpu#464 (comment) worked for me on Windows MSVC. I dunno if it works for your case with GCC though :/ |
Unfortunately that didn't fix the issue @kerskuchen . Thanks for the attempt though :) With the old version of cc, the window is still blank. |
Can you get any of the examples to work? I'm having a problem with the tour example giving me a white window, but everything else works. I think I've tracked it down to the "Image" feature, but still working through it. |
@john01dav Do the examples in |
@mattbradbury @hecrj The examples in master don't work. Here's a video to show exactly what happens. To reproduce, download the VM from here and run in VirtualBox on a Linux host. I suspect that this is an issue of poor OpenGl support in VirtualBox, but, as iced is to be used for more than just video games, this is the sort of thing that should still work without good OpenGl (or DirectX, etc.) support. |
I just tried on Windows 10 on real hardware with Intel HD Graphics 3000. It
fails exactly how it did in the video of the VM. This graphics adapter only
supports Opengl 2.x, so what I said about lackluster graphics support still
applies.
…On Mon, May 18, 2020, 7:01 PM Héctor Ramón ***@***.***> wrote:
@john01dav <https://github.com/john01dav> Do the examples in master work
for you? We have recently updated wgpu and removed OpenGL and DX11 as
backend choices, so we may get an actual error.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#346 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6MJIIOEVFWZAYFHB3HCY3RSHD5RANCNFSM4NDM2R6A>
.
|
@john01dav OpenGL and/or software rendering is currently not supported, as mentioned in the main readme, I am closing this issue, as the original problem seems to have been resolved. |
When on Windows 10 and building to x86_64-pc-windows-gnu, compiling a program with iced gives this error:
Obviously, as this is building on Windows it is inappropriate to expect that
g++
is present. As such, it is a bug that this library will not build withoutg++
on Windows. Note that other programs compile just fine, as rustup now contains the linker when you install this target. It isn't clear to me if this is a spirv-cross bug or an iced but, but, either way, the people here who are depending on spirv-cross likely will know, hence I am making the bug report here.Additionally, I would like to note that when cross-compiling from Linux to this same target, although a .exe is created, this .exe won't run on Windows because it wants access to libstdc++-6.dll, but, when I pull a copy of this DLL from GCC-TDM (a random Windows GCC port, since the file doesn't exist in the files that Rustup downloads), the program crashes with cryptic hex error messages.
The text was updated successfully, but these errors were encountered: