Skip to content
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

Error when i try to build it on osx 10.13.3 #3

Closed
alonsoir opened this issue Mar 29, 2018 · 1 comment
Closed

Error when i try to build it on osx 10.13.3 #3

alonsoir opened this issue Mar 29, 2018 · 1 comment

Comments

@alonsoir
Copy link

MacBook-Pro-Retina-de-Alonso:Nbody-Gravity aironman$ ./build.bash clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp'

@PWhiddy
Copy link
Owner

PWhiddy commented Mar 29, 2018

It appears that some versions of clang on MacOS don't support openmp.

You have two options:

  1. Try to install a different c++ compiler, there is a discussion regarding this same issue here
    (clang: error: unsupported option '-fopenmp' ppwwyyxx/OpenPano#16)

  2. Just remove the -fopenmp option from build.sh
    This will work immediately, but will reduce performance somewhat

@PWhiddy PWhiddy closed this as completed May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants