Compiling GBM + PM Tools, OpenJPEG Codec Tools

OS/2 Platform Requirements

GBM.DLL, the GBM command line tools, GBMV, GBMV2, GBMDLG, GBMLOGO, GBMVFSA, the regression tests and the OpenJPEG JPEG2000 encoder/decoder utilities can be built for OS/2 (and eComStation) using the following compilers:

Additional stuff required:

Optional tools:


Windows Platform Requirements

GBM.DLL, the GBM command line tools, the regression tests and the OpenJPEG JPEG2000 encoder/decoder utilities can be built for Windows NT/2000/XP/Vista using the following compilers:

Optional tools:


Linux Platform Requirements

libgbm.so, the GBM command line tools, the regression tests and the OpenJPEG JPEG2000 encoder/decoder utilities can be built for Linux 32bit and 64bit using the following compilers:


General Steps

Unzip the source package into an empty directory. Ensure that the listed requirements are fulfilled. The environment for the chosen compiler must be active in the shell to be used for compiling.

Have look at the file readme.build in the root directory of the source archive. It explains again how to compile.

General steps:

  1. First set path to lxlite executable/dll compressor in make.opt if you want to compress all EXEs and DLLs. This is only supported for OS/2 build target. For Windows NT/2000/XP and Linux targets no changes are required in this file.

  2. Building with IBM Visual Age C++ 3.08:

  3. Building with Open Watcom 1.4, 1.5, 1.6, 1.7 or 1.8:

  4. Building with GNU C Compiler:

  5. Building with Microsoft Visual C++:

Debug compile can be activated by specifying the parameter debug=on to the nmake, wmake or make call.

Notes: