C++ Template Image Processing Library.    

[Introduction]- [News]- [Download]- [Screenshots]- [Tutorial]- [Forums-Eng]- [Forums-Fr]- [Reference]- [SourceForge Repository ]

Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

Setting Environment Variables

The CImg library is a multiplatform library, working on a wide variety of systems. This implies the existence of some environment variables that must be correctly defined depending on your current system. Most of the time, the CImg Library defines these variables automatically (for popular systems). Anyway, if your system is not recognized, you will have to set the environment variables by hand. Here is a quick explanations of environment variables.

Setting the environment variables is done with the #define keyword. This setting must be done before including the file CImg.h in your source code. For instance, defining the environment variable cimg_display_type would be done like this :

  #define cimg_display_type 0
  #include "CImg.h"
  ...

Here are the different environment variables used by the CImg Library :

All these compilation variables can be checked, using the function cimg_library::cimg::info(), which displays a list of the different configuration variables and their values on the standart error output.


Generated on Mon Jul 4 09:51:36 2005 for The CImg Library by  doxygen 1.3.9