-
Notifications
You must be signed in to change notification settings - Fork 547
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
Missing instructions for macOS Metal #2472
Comments
Confirmed, after installing the full XCode from the mac AppStore, the example runs just fine. I wonder if there would be any other way to make this runnable? Any lightweight options of installing only the metal support somehow? Or should I just add the instructions on the Getting started doc for installing the full XCode app? |
In case it helps anyone in the future, I already did have XCode installed, but it still wasn't finding metal, so running |
would be great to emit a human readable message with those instructions so that people don't have to search the internet! |
@ikamensh yes, we could do something like that in the |
I haven't contributed to gfx so far, so I don't know anything about the code base. Could you lay out a design idea, what conditions do I need to capture, etc. and few links to relevant places in code? |
The instructions for getting started with
gfx-rs
on macOS are lacking.The Readme instructs:
The Getting Started guide only has instructions for Fedora and Ubuntu.
With the instructions provided, running on macOS 10.14.1 (18B75), with only the XCode command-line utils installed (not the full XCode IDE and everything), you bump into the following error:
After a quick googling, this seems to suggest that the relevant tools might be only available after installing the full XCode distribution.
(I'll report back when I get to a place with proper internet again so that I can download the full XCode, and see if that solves the issue. If it does, I'll gladly write a PR with the step-by-step instructions ❤️ )
The text was updated successfully, but these errors were encountered: