Skip to content

constellations.c fails #1

@rkhan2022

Description

@rkhan2022

In the diretory structure in Linux Mint,
/home/rana/mapplot/ephemeris-compute-de430/src/ephemCalc/
/home/rana/mapplot/ephemeris-compute-de430/src/constellations/bound_20.dat
but,
(astroconda) rana@rana-VirtualBox:$ cd mapplot/star-charter/examples/
(astroconda) rana@rana-VirtualBox:
/mapplot/star-charter/examples$ ../bin/starchart.bin venus_ephemeris.sch
Error: Fatal Error encountered in src/ephemCalc/constellations.c at line 118:
Error: Could not open constellation boundary data
Error: Fatal Error encounted in src/astroGraphics/ephemeris.c at line 169:
Error: ephemeris-compute-de430 returned no data
(astroconda) rana@rana-VirtualBox:~/mapplot/star-charter/examples$

in the file ~/mapplot/ephemeris-compute-de430/src/ephemCalc/constellation.c line 118 fails


//! constellations_init - Initialise the constellations module. Load the constellation boundaries from disk.
void constellations_init() {
FILE *file;
int i;
char line[FNAME_LENGTH], *scan, constellation[6] = "@@@";

Nconstel = 0;

// Scan through catalogue of bound
file = fopen(SCRDIR "../constellations/bound_20.dat", "r");
if (file == NULL) ephem_fatal(__FILE__, __LINE__, "Could not open constellation boundary data");   <-- line 118

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions