Customize and rebuild translators
 
 
 

The following shows you how to recompile and/or rebuild translators.

To recompile the translators:

  1. Before you begin, you need to have a C++ compiler, such as:

    (Linux®) SGI C++ 7.3.1

    (Windows®) Microsoft® VC++ 6.0

    (Mac® OS X) Metrowerks® CodeWarrior 7.1

  2. You can recompile the translator by creating a local work area and populate it with the following directory tree:

    MDt/MDtApi

    MDt/include

    MDt/lib

    MDt/vrml2Export

    MDt/rtgExport

    MDt/ge2Export

  3. Copy the respective directories from $MAYA_LOCATION/devkit/obsolete/games.

    Maya contains Makefiles for CodeWarrior®, SGI®, and MS IDE project files that can be used to rebuild the translators.

    NoteYou may have to edit the Makefiles and customize the project files for specific Maya installation areas.
  4. Build the MDtApi library first. This creates a static library used for the other translators. It is possible to create this as a LIB (Mac OS X), DSO (Linux), or DLL (Windows) file, but for the moment it is easier to create a static library for updates and changes to the translators.

    (Linux) The libMDtApi.a will be copied to the lib directory and referenced from there.

    (Windows) The libMDtApi.lib is found in the Release subdirectory and is referenced from there.

    (Mac OS X) The libMDtApi.lib is found in the CFMSupport folder and is referenced from there.