Personal tools
You are here: Home cmgui Wiki CMGUI environment variables
Views
Using Cmgui >>

CMGUI environment variables

last edited 1 year ago by blackett

While we used to use a Cmgui file for configuring CMGUI in the past, this X mechanism was only supported by Motif versions. We have not implemented anything new for cross platform configuration and are relying on a few environment variables where options are available but not normally used by users.

Examples:

CMISS_EXAMPLES Specify where the top level of your cmiss examples are found. If this correctly points to a cmiss example tree then you will be able to run cmgui examples with the cmgui -example a/a1 notation.

For the perl interpreter:

CMISS_PERL Specify the perl executable that you want to use the library installation from. CMISS (both cm and CMGUI) try to allow you to use already installed libraries from this executable.

CMISS_PERLLIB Specifies a colon separated list of paths which will be prepended to the list of directories in which to search for Perl library files. This is commonly used to include some standard perl modules related to cmiss and consequently if none of these variables are set and CMISS_ROOT is set then the directory ${CMISS_ROOT}/cmiss_perl/lib is added automatically.

For textures

CMISS_MAX_TEXTURE_SIZE Override the max texture size as specified by OpenGL. This enables you to work around a faulty OpenGL driver, either when the max texture size is smaller or larger that what actually works by you specifying a different value.

CMISS_MAX_3D_TEXTURE_SIZE Override the max 3D texture size as specified by OpenGL. This enables you to work around a faulty OpenGL driver, either when the max texture size is smaller or larger that what actually works by you specifying a different value.

Contributing to this site

Please add to the wiki any relevant information that you think might be useful to other users of this website. For example, you might like to contribute your experiences, questions and answers.

You are encouraged to contribute to this site regardless of your level of experience. Contributions are welcomed from new and regular visitors.

If you ask a question and receive an answer from a developer you should record it in the wiki. This information is extremely useful and can help other users overcome the same problem.

See how to add and edit pages for more information.