iNTERFACEWARE Products Manual > Installing and Using Chameleon > Unix Support > C++ Support Under Unix > Makefile Environment Variables |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
To compile and link against the libChameleon.a library the CHM_PATH and CHM_PLATFORM variables need to be set. They are used in makefiles that come in the tarball and those generated by Chameleon . CHM_PATH should be set to the root of the folder that you unpacked the Chameleon tarball for your platform. For example, if you unpacked it under /usr/local, the following would work:
CHM_PLATFORM is used to specify which platform dependent makefile to include. These makefiles are stored in the admin folder of the Chameleon tarball. They set up parameters for each operating system flavor and various compiler. If you are dealing with an exotic flavor of Unix it may be necessary to edit these files. This listing shows what you should expect:
So if you were deploying under Linux using GNU C++ you would do:
If you forgot to set this variable you will see an error message like this when trying to make your project:
|