-
Notifications
You must be signed in to change notification settings - Fork 140
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
Is Mac M2 apple silicon chip supported? #599
Comments
We don't had tested on Mac M2, and the new macOS has some issues that we need to fix like SSE. |
Unfortunately, still not working, thanks though since this repo is being updated frequently.
|
Does the error still persist or has the error changed? |
still persist, the same error, with some sample context:
|
It seems this property is included by the crunch lib, try to disable tools URHO3D_TOOL=OFF and build again, lets see if this work |
still not working.
do you know any other feature I can disable for that crnlib? I checked that lib and I am not familiar with what this DXT feature is doing. |
This error comes from crunch lib, you can disable this lib at Source/ThirdParty/crunch/CMakeList.txt on line 55, you can comment and generate again the project. |
Somehow I have to comment out the whole Source/ThirdParty/crunch/CMakeList.txt file, not sure why.
I briefly checked the build option, does not know anything could disable the GLES. I found another thread claiming upgrading SDL version could resolve the Apple Mx Chip support, not sure if that is the same issue here. |
Great, you've reached an important point. This problem occurs because include headers on MacOS is different. Before you go to diligent branch, read this first:
|
Ah, Great! I finally got it to work! Summary Instruction for Mac M2 Chip:
However, I found there are some rendering issues by quickly browsing through the samples. Generally, rendering for terrains/cars/water has some issue; Physics scene has som glitch when rotating camera; Physics stress test and some other scenes could not render completely; The cube did not render for the Ragdoll sample, etc. |
Holy shit that looks broken xD |
Master branch is completely broken on new Mac, I tried to help him but it has a mountain of issues that needs to be solved to make build works, diligent branch seems very stable on new Mac |
I just took a quick look at the default log print
I think there is some issue with the |
@ad184hl Can you try hardcoding drawBaseInstance_ to false and check if it fixes the issue for you? |
I am trying to use the MacOS build flow according to the document, but it has error when build:
I searched the internet, looks like I need to change the cmake setting, for example:
But since I auto generated the config using the following:
I am not sure where I should change the setting.
I tried to add options in the build step according to this, e.g.
but none worked.
The text was updated successfully, but these errors were encountered: