-
Notifications
You must be signed in to change notification settings - Fork 14
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
GetFileSizeEx() for path ../Assets/CSO/Release/... failed with following error code: 6 #10
Comments
There is a cmake target called "CompileShaders" that compiles the shaders and writes the ouputs to "./Assets/CSO/Release". It should be visible in the Solution Explorer window in VS. Could you make sure it hasn't been disabled? When enabled, the build output should've contained messages such as "Compiling AutoExposure_Histogram.hlsl...". |
Okay, seems to work fine now but I have to build that target manually. Maybe something is missing in the CMake? |
Instead of using VS, could you run the following on the command line in a different folder? git clone https://github.com/alipbcs/ZetaRay
cd ZetaRay
mkdir build
cd build
cmake ..
cmake --build . |
I did get this kind of output this time:
|
The issue is specific to VS then. For some reason, VS is skipping that target even when it's loaded. I tested with VS 2019 and VS 2022 on two different systems and it built successfully. I'm not sure what's causing it. |
I cloned the repo, made a
build
folder,cmake ..
, open the Visual Studio Solution, setSamples/ZetaLab
as starting project, added a cornell box GLTF to the command line argument and built + ran the project but ended with this error (it shows up withAutoExposure...
but there are a bunch of other error Windows with more files complaining):The working directory of the project is set to be ZetaRay/bin but the folder ../Assets does not contain a
Release/
folder as seems to be expected by reading the error.My
ZetaRay/Assets
folder only contains:Any ideas?
The text was updated successfully, but these errors were encountered: