-
Notifications
You must be signed in to change notification settings - Fork 2k
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
"/build/Vulkan/data/shaders/hlsl/renderheadless": not found #1170
Comments
This looks like a setup issue. The end of your error message refers a folder that's not part of my repository. How are you building the samples? On what platform? I need more details to help. |
Thanks for the quick response. Clone and build Vulkan examplesARG BUILD_EXAMPLES="computeheadless renderheadless" RUN git clone --recursive https://github.com/SaschaWillems/Vulkan.git Use the base image again for the runtimeFROM vulkan-ubuntu-test COPY --from=builder /build/Vulkan/build/bin/computeheadless /build/Vulkan/build/bin/computeheadless for the docker/Dockerfile i'm testing with a different FROM: The original reference: i'm backtracking to see why the folders are offset. Any help would be greatly appreciated. My overall goal was to run the vulkan rendering in headless mode with a docker container that has nvidia and vulkan support. |
Sorry, no clue here. I've never built my samples with a docker file and don't have plans to support that. If I were to create a docker file I'd simply clone my repo inside of it and just build all samples. On a mid-range CPU you can compile the whole repo in ~40s. Trying to extract a few samples and make them compile is probably not worth the time you're trying to save. |
Hi!
I have a slight issue with this example.
54 | >>> COPY --from=builder /build/Vulkan/data/shaders/hlsl/renderheadless/ /build/Vulkan/data/shaders/hlsl/renderheadless/
Error:
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref [reference-redacted]: "/build/Vulkan/data/shaders/hlsl/renderheadless": not found
[ 81%] Building C object base/CMakeFiles/base.dir/__/external/ktx/lib/filestream.c.o [ 90%] Building C object base/CMakeFiles/base.dir/__/external/ktx/lib/vkloader.c.o [ 90%] Linking CXX static library libbase.a [ 90%] Built target base [100%] Building CXX object examples/CMakeFiles/computeheadless.dir/computeheadless/computeheadless.cpp.o [100%] Linking CXX executable ../bin/computeheadless [100%] Built target computeheadless [ 90%] Built target base [100%] Building CXX object examples/CMakeFiles/renderheadless.dir/renderheadless/renderheadless.cpp.o [100%] Linking CXX executable ../bin/renderheadless [100%] Built target renderheadless ls: cannot access '/build/Vulkan/data/shaders': No such file or directory Shader directory not found
how can this be resolved?
The text was updated successfully, but these errors were encountered: