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

dxc_helper.cc compile problems #942

Open
normrubin opened this issue Jan 30, 2021 · 4 comments
Open

dxc_helper.cc compile problems #942

normrubin opened this issue Jan 30, 2021 · 4 comments
Assignees

Comments

@normrubin
Copy link

I'm having some trouble compiling amber with dxc support -
dxc_helper.cc pulls in dxcapi.h which for me gets three compile errors

it seems to need dxc/support/WinIncludes.h to get definitions
and seems to need functions AddRef and Release defined in class IncludeHandler

I'm trying to figure out if this is my error?
does the dxc support get regularly tested? Has anyone else seen these issues?

@jaebaek
Copy link
Contributor

jaebaek commented Feb 2, 2021

@normrubin Thank you for reporting this error. I will quickly check it and get back to you.

@jaebaek
Copy link
Contributor

jaebaek commented Feb 2, 2021

I tried

git clone https://github.com/google/amber
cd amber
./tools/git-sync-deps --with-swiftshader --with-dxc
mkdir -p out/TEST
cmake -GNinja -DAMBER_USE_DXC=True -DAMBER_USE_LOCAL_VULKAN ../..
ninja

I did not get any build error.
Could you please try the above commands?

@normrubin
Copy link
Author

i got the failure when compiling on a windows machine
dxcapi pulls in different includes on windows vs linux

Sorry I should have said that this was a windows only issue

I do not see any problems building on linux

@normrubin
Copy link
Author

normrubin commented Feb 4, 2021 via email

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