-
Notifications
You must be signed in to change notification settings - Fork 6
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
clang error #12
Comments
Hi @BrianaGross , unfortunately Graphmap2 will not compile on Mac OS X Clang complier. There is an option to compile it on mac by downloading GNU C++ compiler with Homebrew. You can download Homebrew here https://brew.sh/ Then run the command 'brew install gcc' which will install C++ compiler alongside Clang compiler. Finally, replace the 19. line in the Makefile file 'GCC ?= g++' with '/usr/local/bin/g++-9' (or wherever your compiler was installed). The program should compile now. Let me know if you can't reproduce this installation. |
Thanks so much for your quick response! Much appreciated. I followed your helpful instructions (including checking the location of my gcc install), and when I ran Should there be anything on line 19 other than Thank you! |
I am sorry, I made a typo. It should be replaced with GCC ?= /usr/local/bin/g++-9' (or whatever the location of the installation is) |
Thanks! I corrected the line and the install seemed to proceed, but eventually ended with the error:
I haven't really been able to figure out what this one means... I have a feeling I am getting into some things that are maybe just inherent to my OS now, so I don't know if you can answer this question. Thanks for your help so far! |
Have you followed these exact steps:
Did you run |
If you are I can try to take a look because I don't know right now. I am also compiling on Mac and it is successful for me by following the steps I have described. If I find something I will let you know. |
Yes, I followed all those steps - I even re-downloaded and tried again. It must be something specific to my set-up. I will try to figure it out. It was very nice of you to show me the C++ compiler work-around! Thanks so much. |
Hi all,
Has anyone successfully installed this on Mac OS Mojave? After running the
make
command, I received the following error:clang: error: unsupported option '-fopenmp'
. I see that this is a known issue for Mojave, but I'm afraid I'm unable to translate the suggested solutions to this program. I wondered if anyone had a record of how they overcame this and used graphmap2 recently.Thank you,
Briana
The text was updated successfully, but these errors were encountered: