Closed rgosens2 closed 2 months ago
According to the docs you need to run it from the root of the repository to locate the assets it needs. Also the .app isn't the executable, but the container. Have you tried:
/build/mac/app/bin/Debug/arm64/vulkan_samples.app/Contents/MacOS/vulkan_samples sample hello_triangle
Hi @rgosens2, can you check if this fixes your problem - and close this issue if so? Thanks!
I'll close the issue. Please reopen when the issue isn't fixed. Thanks!
Builds fine but cannot run app:
zsh: permission denied: ./vulkan_samples.app
Running from Contents:
./vulkan_samples sample hello_triangle
[info] Logger initialized [info] Initializing vulkan instance. [info] Enabled Validation Layers: [info] Found GPU: Apple M1 [info] Initializing vulkan device. [error] Error Message: Failed to open file for reading [error] Failed when running application hello_triangle