-
Notifications
You must be signed in to change notification settings - Fork 59
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
Unable to run readme demo on Mac M1 #149
Comments
It appears the issue may be that you're missing the SplashKit SDK. I suggest typing the following into your terminal emulator:
After this, the only thing you will need to re-enter from what you previously entered will be:
Edit: after re-evaluating, this may not be the solution. But I'll keep it here to try, at the very least. Typing |
@macite Slightly unrelated but what is the status of splashkit on m1 going forward with Apple eventually deprecating OpenGL in favour of vulkan? I'm assuming there'll be some wrapper layer we may be able to switch to? |
Hey @Alex-MobileApps, I encountered the same issues compiling
I've cobbled together step 3 and can confirm native ARM builds work, but it's currently fiddly to get working. @macite mentioned an ideal solution would be to produce universal binaries for all of these libraries that include symbols for both
|
@isdampe if we can get a universal binary created for this that would be great. At the moment we package all of these up in the "external" project with pre-built versions of each of the libraries for mac and windows. This means that others then have easy access to these - but does cost us a little in terms of rebuilding these when new architectures come out and new versions of the libraries we use are created. @jakerenzella SDL abstracts the graphics library for us at the moment. I assume/hope they will provide a driver to help with this. |
@Alex-MobileApps there's a short-term fix for option 2 in this PR thoth-tech#1 |
Problem
Running the code under the "Development on macOS" section of README.md is not running the test project. The final line: "./sktest" is outputting: "no such file or directory: ./sktest" instead of running the test project.
How to reproduce
Using an Apple M1 Mac running macOS 12.2.1, from the terminal run (from README.md):
Output
See attached log file log.txt. File ends with "no such file or directory: ./sktest" instead of running the test project.
Expected output
Successful run of the test project
The text was updated successfully, but these errors were encountered: