OSX support is currently in the alpha stage. The library and applications compile and appear to function correctly. Work is still being done for the build environment.
The build has been successfully tested using the following:
| Xtools under Leopard (10.5) |
| GPSTk 1.5 or greater (currently only in subversion) |
This first step is to install the OS X developer tools (Xcode Tools) that are found on the installation media or at
http://connect.apple.com. Install
doxygen if compiling the documentation and install subversion for direct access to the repository.
Building and Installing in OSX using Jam
The following procedure will build and install the GPSTk.
- Ensure that Xtools and jam have been installed.
- Download the GPSTk source distribution.
- Extract the GPSTk tarball. For example, using GNU tar
tar xvzf gpstk.tar.gz
- Change into the gpstk/dev directory (if using Subversion) or the gpstk/ directory (if using the tarball)and type
jam
- To build the source documentation using doxygen:
doxygen
- To install GPSTk as a system library in /usr/local, assume root privileges then execute
jam install
To install to a different location, define the environment variable PREFIX to point to the root of the installation.
Building and Installing in OSX using GNU make
The following procedure will build and install the GPSTk using recent, standard GNU build tools.
- Ensure that Xtools have been installed.
- Download the GPSTk distribution.
- Extract the GPSTk tarball. For example, using GNU tar
tar xvzf gpstk.tar.gz
or download the code from subversion as described on the download page.
- Change into the gpstk/dev directory (if using Subversion) or the gpstk/ directory (if using the tarball) and execute these commands:
./autogen.sh
./configure
make
- To build the library documentation using doxygen:
doxygen