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

macOS permission denied: ./vulkan_samples.app #1069

Open
rgosens2 opened this issue Jun 12, 2024 · 1 comment
Open

macOS permission denied: ./vulkan_samples.app #1069

rgosens2 opened this issue Jun 12, 2024 · 1 comment

Comments

@rgosens2
Copy link

rgosens2 commented Jun 12, 2024

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

@jeroenbakker-atmind
Copy link
Contributor

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

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