Size: 2109
Comment:
|
Size: 2133
Comment: Added verbatim syntax
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
The attached tgz file contains gcc/g++ patches and Makefiles for the Windows SGP4/SDP4 algorithm code in SxP4Test. | The attached tgz file contains gcc/g++ patches and Makefiles for the Windows SGP4/SDP4 algorithm code in<<BR>> [[ http://www.zeptomoby.com/satellites/SxP4Test.zip | SxP4Test ]]. |
Line 4: | Line 5: |
{{{ |
|
Line 17: | Line 19: |
'SxP4Test' directories, and will create:<<BR>> norad/Makefile<<BR>> SxP4Test/Makefile<<BR>> SxP4.patch<<BR>> README.SxP4<<BR>> |
'SxP4Test' directories, and will create: norad/Makefile SxP4Test/Makefile SxP4.patch README.SxP4 |
Line 26: | Line 28: |
routines in the norad library.<<BR>> | routines in the norad library. |
Line 28: | Line 30: |
The linux patch/build process: | The linux patch/build process: |
Line 35: | Line 37: |
$ cd SxP4 <<BR>> $ cp <tarfile-path>/SxP4_linux_patch.tgz . <<BR>> |
$ cd SxP4 $ cp <tarfile-path>/SxP4_linux_patch.tgz . |
Line 48: | Line 50: |
}}} |
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: norad/Makefile SxP4Test/Makefile SxP4.patch README.SxP4 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: 1. Download 'SxP4Test.zip' from http://www.zeptomoby.com/satellites/ and extract the contents to a directory of your choice, for example, ./SxP4 2. Place this tar file in that same directory and extract the contents $ cd SxP4 $ cp <tarfile-path>/SxP4_linux_patch.tgz . $ tar xzf SxP4_linux_patch.tgz 3. Apply the patch file in place thusly: $ patch -p1 < SxP4.patch 4. In the 'norad' subdirectory, simply do 'make'. 5. Ditto in the 'SxP4Test' subdirectory. The resulting executable 'SxP4Test', when invoked, prints out orbital data from TLEs hardwired in the source.