-
Notifications
You must be signed in to change notification settings - Fork 164
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
M1 Mac compile error: "Makefile:23: *** missing separator. Stop." #326
Comments
Hey, Additionally, can you post the output of |
Hi, I commented out that line and am now running into: The output of
|
Oh, that is a truly ancient version of GNU make. That might be the issue. Did you follow the instructions in the README (not README.md) for Mac OS? (see here) That should install a supported version of both gcc or clang and of make. |
I see. I just followed these instructions in the README, which I guess doesn't update make:
Instead, I used brew to install gmake, which seemed to fix the issue but now I am encountering this error:
|
Hmm, strange. Then we should probably add that to the instructions. To your new problem: I would guess that |
I already tried that. I believe that it has something to do with fftw being installed on my machine but not being seen by the compiler. I will try to figure that out and post the solution here. |
I'm having the exact same issue here on my m1 mac |
Ok, then we probably need to adapt where Could you try: |
IIt's found here |
Ok, that is not where we expect it. You could try compiling with And if you not, please also post the compiler command that failed |
I'm still having the '-fopenmp" unsupported error...
|
That error should not be possible when passing Edit: Did you do |
Yes I did pass
|
Nice, on Mac OS, So we need to find out where the gcc that you installed with Could you run |
Sure, here is the output:
|
Thank you! so |
Sorry for trouble you again, I tried
I tried to follow the instructions on how to find fftw3.h to find it like
|
Oh, that is because it defaults to MACPORTS=1. Maybe pass By the way, instead of passing all of those arguments by hand, you can also create a file called |
Hi all,
I am just jumping on this thread. I want to mention that there are different ways of installing the packages, either with Macports or with Homebrew, and the library paths will differ. We have a flag that defaults to MACPORTS=1. We should fix the pathing issues while making sure both cases work.
Therefore if you are using Homebrew then I recommend first setting MACPORTS=1, and then modifying the paths under that logic.
For the “Missing Separator” error, this can be resolved by installing the package gmake. With Macports (port install gmake), I can then compile the master branch of BART with the command “gmake” (and MACPORTS=1).
Jon Tamir, PhD
Assistant Professor
Jack Kilby/Texas Instruments Endowed Faculty Fellowship in Computer Engineering
Chandra Family Department of Electrical and Computer Engineering
The University of Texas at Austin
www.jtsense.com<http://www.jtsense.com/>
|
Sorry for my typo. For Homebrew, set MACPORTS=0.
|
Thanks for all your help! I'm currently running gmake with the following flags:
but it gives me the following error: |
I'm still seeing this issue too, I haven't tried to look intio it after that |
|
Indeed there is no |
clblas.h is not what we need. brew install openblas Should install what we need, but I have no idea where homebrew installs those things.. |
I see. I have openblas installed but there is appears to be no cblas.h under /opt/homebrew/include/ There appears to be a cblas.h under /opt/homebrew/Cellar/openblas/0.3.26/include/ though |
Hello, I had the almost all the exact same problems listed in this issue. I used the following command that worked for me: |
I'm trying to use Homebrew to install BART on an apple silicon computer but am encountering the following error when attempting to compile the code:
Makefile:23: *** missing separator. Stop.
I am unfamiliar with the Makefile syntax. Any ideas on how to fix this?
Thanks
The text was updated successfully, but these errors were encountered: