-
Notifications
You must be signed in to change notification settings - Fork 43
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
building on M1 mac #47
Comments
i've made a PR with changes related to this |
This works on my 2020 MacBook Air M1 (8gb) with Ventura 13.0.1. Thanks! |
Hi folks, I'm working on a version that automatically detects arm64 vs Intel architecture and uses the right flag. Were you folks able to build a recent version of the tester branch on the M1? E.g.,
I can easily build this with clang, but then again it would be easier if I could build everything with the same compiler. |
I've submitted a pull request with the changes needed to compile this on macOS: #74 |
@sofakng, I'm a few months late and not sure if something else broken the branch, but while I can compile the |
I get an error in the tester branch as well:- neil@Neils-Air Render96ex_macOS % gmake -j4 |
Do you have the latest gcc version installed with homebrew + all dependencies (see Step 4 from my guide above)? I got the |
Also, drop the |
how are you supposed to do the tester rt64? i tried with render api rt64 but it is only supported on windows. i used only gmake -j4 and it worked but no raytracing. |
I spent a long time trying to figure out how to build this on my M1 computer, I found a fix, in the makefile there is this section:
on M1, the homebrew folder is /opt/homebrew/ so if you change this to:
it will now build using gmake
not sure if there is a way to edit the makefile to set the cflags to the brew prefix rather than setting it explicitly
The text was updated successfully, but these errors were encountered: