| 
 | 
| 
  Windows
 |  |  
 On Windows, there is support for building with either Visual C++ 6 with
    Service Pack 5 or with Visual C++ 7 (.Net). 
The following is a summary of how to build PMT on windows. For more details,
refer to the PmtUserGuide. 
- Download and build (if necessary) OpenTiff, OpenExif, the IJG Jpeg toolkit,
    and Xerces-C++ v2.2
 
- Download PMT
 
- Set the following Environment Variables:
 
    - Your Path must contain the directory where xerces-c_*.dll is located
 
    - XERCESCROOT must point to the xerces directory
 
    - EXIFROOT must point to the OpenExif toolkit directory
 
    - TIFFROOT must point to the OpenTiff toolkit directory
 
    - JPEGROOT must point to the IJG Jpeg toolkit directory
 
 
- Open the BuildAllStatic workspace or solution file (in the projects/Win32/VC*
    directory) for building static libraries for PMT, or BuildAllDynamic for
    building DLL libraries 
 
- Go to Build->Batch Build... and do a Build All
 
- Run the AccessorTest and PmtInterpreterTest programs and compare their output
    to the corresponding GroundTrue.txt file
 
 
  |  |  
| 
  Linux/Unix
 |  |  
 On Linux/Unix, there is support for building with gcc version 2.95.2,
2.95.3, or greater. 
The following is a summary of how to build PMT with gcc. For more details,
refer to the PmtUserGuide. 
- Download and build (if necessary) OpenTiff, OpenExif, the IJG Jpeg toolkit,
    and Xerces-C++ v2.2
 
- Download PMT
 
- Set the following Environment Variables:
 
    - XERCESCROOT must point to the xerces distribution directory
 
    - EXIFROOT must point to the directory where OpenExif is installed
 
    - TIFFROOT must point to the directory where OpenTiff is installed
 
    - JPEGROOT must point to the directory where the Jpeg toolkit is installed
 
    - LD_LIBRARY_PATH = $XERCESCROOT/lib : $EXIFROOT/lib : $TIFFROOT/lib : $LD_LIBRARY_PATH
 
 
- Configure PMT. For example:
 
  ./configure --prefix=/home/rrosario/pmt-intall-dir --disable-shared 
- After successful configuration, make PMT:
 
 make
 
- Run the AccessorTest and PmtInterpreterTest programs and compare their output
    to the corresponding GroundTrue.txt file
 
 
  |  |  
 
 |