-
Notifications
You must be signed in to change notification settings - Fork 93
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
Unresolved import direct2d::math
#33
Comments
This looks like trying to build windows-specific code on a non-windows platform. That shouldn't be happening. What platform are you on? Are you setting any features explicitly? |
I'm on Mac OS. I just checked the repo out and did "cargo build" in the
root, so I'm not aware of setting any features.
…On Fri, Jan 25, 2019 at 8:38 PM Raph Levien ***@***.***> wrote:
This looks like trying to build windows-specific code on a non-windows
platform. That shouldn't be happening. What platform are you on? Are you
setting any features explicitly?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#33 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAAgY7DBmAvOp4W-8u_seXq5ndZkCj4ks5vG83FgaJpZM4aT9tI>
.
|
Ah, got it. Building the workspace tries to build all the subcrates, including direct2d, which isn't going to work. What should work is We could also update the piet-direct2d crate so that nothing gets built on non-windows platforms. |
Thanks, that's exactly what I was looking for.
…On Fri, Jan 25, 2019 at 8:47 PM Raph Levien ***@***.***> wrote:
Ah, got it. Building the workspace tries to build all the subcrates,
including direct2d, which isn't going to work. What should work is cargo
run --example basic-cairo, assuming the Cairo prerequisites have been
installed. We should probably update the README to reflect this.
We could also update the piet-direct2d crate so that nothing gets built on
non-windows platforms.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#33 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAAgQgzAnpF-cZN2o-zAIkpDHbOWLDyks5vG8_igaJpZM4aT9tI>
.
|
Specifying |
- Related to linebender#9 - Related to linebender#33
I am (probably naively) trying to run "cargo build" on a fresh pull of
piet
and I'm seeing several errors in the build, e.g.:I assume that as a new user of rust I just don't know what I'm doing :)
The text was updated successfully, but these errors were encountered: