dcf21 / star-charter

A command-line tool for producing vector-graphics charts of the night sky in SVG, PDF and PNG formats.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiling Error - unsupported option - 'fopenmp'

B-Lindsey opened this issue · comments

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

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?

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.