tsmApiTM Library
About
Download
License
What's New
Tutorials
GeoVRML Support
Adding File Filters
API Specification
File Formats
 


tsmAPI Libraries:


The current release of the tsmApiTM has been compiled under IRIX, Solaris, and Windows, but should be portable to other platforms also. You can download the latest release (tar.gz or zip format) by clicking on one of the following links. The tsmApiTM library is provided free of charge under the terms of the Apache Open Source License. See below for compilation instructions.

For an overview of new features in this release, see the What's New page.

tsmApiTM version 2.3 downloads:
IRIX 6.5 (N32) Contains the compiled tsmUtils programs for use on an SGI under the IRIX operating system. Compiled under IRIX 6.5 with $(CC)=cc -n32.

Archive size: 13M.    Last Updated: Friday, 02-Aug-2002 10:31:08 PDT.

Windows 95/98/NT/2000/XP Contains the compiled tsmUtils programs for use on a PC under the Windows platforms. Compiled using Microsoft Visual Studio V6.0. You will need to put the nspr4 DLL in your system dir.

Archive size: 2.8M.    Last Updated: Friday, 02-Aug-2002 10:16:41 PDT.

Solaris 2.6 Contains the compiled tsmUtils programs for use on a SUN under the SOLARIS operating system. Compiled under SOLARIS 2.6 with $(CC)=gcc.

Archive size: 7.8M.    Last Updated: Friday, 02-Aug-2002 10:34:12 PDT.

Source Code Contains all of the C source code for the tsmApiTM and the various libraries that it depends upon. Grab this if you want to build your own copies of the libraries and utilities, e.g. if your platform isn't supported above.

Archive size: 8.0M.    Last Updated: Friday, 02-Aug-2002 00:56:29 PDT.


Compilation:


If you have downloaded the source code distribution, then the following are the steps that you should perform to compile up the library. If you have Visual Studio on a PC then you can just open the workspace file in the winbuild directory. Otherwise, if you're compiling under a Unix environment:

  1. Download the archive (above) and extract all the files, e.g.
    % zcat <archive-name.tar.Z> | tar xvf -

  2. set the CC environment variable if you don't want to use the default C compiler (gcc), e.g.
    % setenv CC 'cc'

  3. Create the Makefile for your system using configure. This is normally best to do in a separate build directory, e.g.
    % cd tsmApi-2.3
    % mkdir irix6.5-o32
    % cd irix6.5-o32
    % ../configure

    When compiling under Windows using the CygWin environment, you may need to specify additional arguments to configure in order to define the platform and target binary type, e.g.
    % ../configure --enable-target=WIN95 i686-pc-mingw32

  4. Compile the tsmApi library (and supporting libraries), e.g.
    % make -k
N.B. The tsmApiTM library uses the GNU automake/autoconf utilities in order to simplify the installation process. You will require the GNU make utility in order to complete the installation (often called gmake rather than make).

You can install the relevant libraries and include files on your system using the "make install" command if you supply a --prefix option to configure. This will created subdirectories lib and include in the install directory that you specified with the --prefix command line option. N.B. if the libtiff distribution was compiled up, then this will be installed in /usr/local, irrespective of what you specify with --prefix. You will therefore have to su in as root before installing.

To compile without using the native pthreads library, you should run configure with the --disable-native-pthread option.

To force the compiler to use static libraries (.a) instead of shared ones (.so), you should run configure with the --disable-shared option.

 

 

Copyright ©2001 SRI International. All rights reserved.

For more information, please contact: digital-earth@ai.sri.com.
Last updated: Tuesday, 20-Aug-2002 08:15:56 PDT.