Hi all,
I am working on Gpredict software with the following development environments:
- Linux Ubuntu: 18.04
- Gpredict: 2.2.1
- Glib: 2.56.4
- Gio: 2.56.4
- Gthread: 2.56.4
- Gdk: 3.22.30
- Gtk+: 3.22.30
- GooCanvas: 2.0.4
- Libcurl: 7.58.0
I would love to add a simple feature and I am trying to edit the pass-to-txt.c file (to save a TXT file that contains the results of the coordinate conversion from the given satellite’s future pass and lat/ lon/ alt.)
Regarding the coordinate conversion (for example from LLA (Lat/ Lon/ Alt) to ECEF (Earth-Centered Earth Fixed), I would like to use the GeoStars library. So, I put the GeoStars sources to the Gpredict source directory (~/gpredict-2.2.1/src/) as follows.
And the GeoStars sources (located at ~/gpredict-2.2.1/src/geostarslib/src/lib/) looks like this:
In pass-to-txt.c file, I added some lines as follows:
In the directory (~/gpredict-2.2.1/), after the make command, I faced this error:
-
./configure
→ Okay -
make
→ Undefined reference to '…' error
Could anyone please help me to compile the Gpredict software with the external library?
Sincerely,
Dongsin