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

dxbcd does not build on non windows #1

Closed
jrmuizel opened this issue Aug 21, 2018 · 2 comments
Closed

dxbcd does not build on non windows #1

jrmuizel opened this issue Aug 21, 2018 · 2 comments

Comments

@jrmuizel
Copy link
Contributor

   Compiling winapi v0.3.4 (https://github.com/fkaa/winapi-rs.git?branch=wdk-tokenized-dxbc#cdebaf2a)
   Compiling dxbc v0.1.0 (file:///Users/jrmuizel/src/dxbc/dxbc)
error[E0433]: failed to resolve. Could not find `um` in `winapi`         ] 6/8: dxbc
 --> dxbc/src/dr/shex.rs:1:13
  |
1 | use winapi::um::d3d11tokenizedprogramformat::*;
  |             ^^ Could not find `um` in `winapi`
@fkaa
Copy link
Owner

fkaa commented Aug 21, 2018

Didn't realize winapi had #![cfg(windows)]. I removed the winapi dependency and moved the file over to the repo, should work now.

@fkaa
Copy link
Owner

fkaa commented Aug 21, 2018

As for compiling shaders on non-windows, I think http://shader-playground.timjones.io/ should work (select fxc compiler and 'download binary' in the bottom right)

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

No branches or pull requests

2 participants