              MCALabC1.1 INSTALL PROCEDURE UNDER UNIX/LINUX/MACOS X/CYGWIN/MINGW
			TODO: this toolbox has not been tested under Windows.

1. PREREQUISITE

  a. Mandatory:

   - C++ compiler.
   - Matlab mex compiler.

  b. Optional:

    - The toolbox uses a file format called Pandore, which is an Image Processing toolbox available at 
    				http://www.greyc.ensicaen.fr/EquipeImage/Pandore/ 
      MCALabC1.1 do not include a Pandore format visualizer. To visualise the images, you may download the Pandore library and its
      visualizer available at the same address.


2. UNPACK THE ARCHIVE 

  a. Copy MCALabC1.1.tgz to your favorite folder.
     (ex: /usr/local/mcalab).

  b. Uncompress

     tar xfz MCALabC1.1.tgz


3. BUILDING

  To configure the MCALabC toolbox for your machine type:

        ./configure --mex-pathname=DIR
    
    where DIR the is the path of the mex compiler (e.g. /usr/local/matlab/bin).

    Type "./configure -help" to get a list of all available options.

    To create the toolbox and compile all the C++ and mex files, type:

        make

    You may want to clean the toolbox after the compilation step, type:

    	make clean

4. CLEAN AND REBUILD

  To rebuild the toolbox, just type the following:

        make distclean
	./configure
	make

5.  ENVIRONMENT VARIABLES

    In order to use MCALabC++, some environment variables need to be
    extended.

        PATH               - extend to include $MCALABCHOME/bin
	LD_LIBRARY_PATH	   - extend to include $MCALABCHOME/lib
