Skip to content
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

Compilation of druid-shell fails on windows #437

Closed
zvolin opened this issue Jan 1, 2020 · 1 comment · Fixed by #439
Closed

Compilation of druid-shell fails on windows #437

zvolin opened this issue Jan 1, 2020 · 1 comment · Fixed by #439

Comments

@zvolin
Copy link

zvolin commented Jan 1, 2020

Hi,
I wanted to give druid a try, but I'm unable to compile druid for windows.
This is the error I get:

Compiling druid-shell v0.4.0
error[E0308]: mismatched types
 --> C:\Users\Zwolin\.cargo\registry\src\github.com-1ecc6299db9ec823\druid-shell-0.4.0\src\platform\windows\window.rs:1007:48
     |
1007 |         SetWindowLongPtrW(hwnd, GWLP_USERDATA, wndproc_ptr as LONG_PTR);
     |                                                ^^^^^^^^^^^^^^^^^^^^^^^ expected i32, found isize

And the toolchain I use:

stable-i686-pc-windows-msvc
rustc 1.40.0 (73528e339 2019-12-16)
@raphlinus
Copy link
Contributor

Any special reason you're using a 32 bit target? It might not be too hard to fix this, but it's not been a priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants