Error when building the "Release" version of dxwrapper. #373
Replies: 1 comment 3 replies
-
Looks like Visual Studio is trying to build the hlsl files directly. Are you using the project files? You need to use the project files for this. I created a tool to build those. Or if you don't plan to change the shaders you can just remove the hlsl files from the project, as I have already checked in the built version of them in a header file. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I get the following error when I try to build the "Release" version of dxwrapper.dll in Visual Studio 2022:
Custom build for 'ddraw\Shaders\ColorKeyShader.hlsl;ddraw\Shaders\PaletteShader.hlsl;ddraw\Shaders\GammaPixelShader.hlsl' exited with code 1.
I can't figure out what's going wrong here, and building the "Debug" version works fine, it's just the "Release" version that gives this error, even when I choose to only build the "dxwrapper" project.
What am I missing here?
Beta Was this translation helpful? Give feedback.
All reactions