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

Compiling Error - unsupported option - 'fopenmp' #8

Open
B-Lindsey opened this issue Jun 7, 2021 · 2 comments
Open

Compiling Error - unsupported option - 'fopenmp' #8

B-Lindsey opened this issue Jun 7, 2021 · 2 comments

Comments

@B-Lindsey
Copy link

B-Lindsey commented Jun 7, 2021

Each time I run the setup shell there is a compiling code error at the same place during producing output data catalogues.

Sorting list of stars in order of brightness
Producing output data catalogues
Compiling code
mkdir -p obj obj/astroGraphics obj/coreUtils obj/listTools obj/mathsTools obj/settings obj/vectorGraphics
cc -Wall -Wno-format-truncation -Wno-unused-result -g -fopenmp -c -I
/Astronomy/star-charter-master/src -O3 -D DEBUG=0 -D MEMDEBUG1=0 -D MEMDEBUG2=0 -D DCFVERSION="3.0" -D DATE="09/06/2019" -D PATHLINK="/" -D SRCDIR="/Astronomy/star-charter-master/src/" src/astroGraphics/constellations.c -o obj/astroGraphics/constellations.o
clang: error: unsupported option '-fopenmp'
make: *** [obj/astroGraphics/constellations.o] Error 1

@pabrown1975
Copy link

I got the same issue trying to run the setup.sh script directly. I believe the intended method is to run it from a Docker container. You'd need to download Docker Desktop and then follow the instructions in README.md.

However, it would be really nice to have a way to build and run this project without Docker. Has anyone been able to do this?

@pabrown1975
Copy link

I spent hours trying this and it's a dead end for me. MacOS is just missing too many tools, like even apt-get, and there aren't any Homebrew equivalents to some of the things that are required. So I think the only straightforward way to run this project is through Docker.

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