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, the GBM plugins for Mozilla and Lucide 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 (32/64bit) using the following compilers:

The GBM plugin for Mozilla can be built for Windows (32bit only) using the following compilers:

Additional stuff required:

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 (32/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 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.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: