The attached tgz file contains gcc/g++ patches and Makefiles for the Windows SGP4/SDP4 algorithm code in SxP4Test.
Here is the README.SxP4 from that tgz file:
This is the README file from SxP4Test_linux_patch.tgz .
The files in this archive are for compiling the SxP4Test software, available at http://www.zeptomoby.com/satellites/SxP4Test.zip, in a Linux build environment. The files in SxP4Test.zip appear to be for a Windows Visual Studio or .NET environment build environment. The SxP4Test.zip file, when extracted, creates two directories, 'norad' and 'SxP4Test'. The files provided here are a single patch file for the original sources, and simple Makefiles for each of the original subdirectories. This tar file should be extracted in the directory that contains the 'norad' and
'SxP4Test' directories, and will create:
The 'norad' Makefile builds a static library, 'norad.a', that contains
routines implementing the SGP4/SPD4 algorithms. The 'SxP4Test' Makefile builds an example program, SxP4Test, that demonstrates the use of routines in the norad library.
The linux patch/build process:Download 'SxP4Test.zip' from http://www.zeptomoby.com/satellites/
- and extract the contents to a directory of your choice, for example,
- Place this tar file in that same directory and extract the contents
- Apply the patch file in place thusly:
$ patch -p1 < SxP4.patch
- In the 'norad' subdirectory, simply do 'make'.
Ditto in the 'SxP4Test' subdirectory.
The resulting executable 'SxP4Test', when invoked, prints out orbital data from TLEs hardwired in the source.