iNTERFACEWARE Products Manual > Installing and Using Chameleon > Unix Support > C++ Support Under Unix > Runtime Environment Variables |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
You will need to set the variables CHM_PYTHON_LIB_PATH, CHM_REGKEY and CHM_EXPIRY_DATE to be able to run the executable that you have linked with libChameleon.a. They give the registration information and the location of the python initialization files that Chameleon's python engine needs to load at runtime and the registration information. The python library files are stored in a directory called python_lib in the Chameleon root directory. So if you had expanded Chameleon into /usr/local, the following would work for CHM_PYTHON_LIB_PATH.
These python library files are text python files - the core python runtime is contained in libChameleon.a. We recommend that you do not try and load python libraries files from another third party source since there are likely to be version incompatibilities. For more information on CHM_PYTHON_LIB_PATH, see Python Initialization Files. See Registering Chameleon on Unix/Linux for more information about CHM_REGKEY and CHM_EXPIRY_DATE.
|