Readme for LambdaFit 1.7
www.feiten.de/LambdaFit

Linus Feiten (linus@feiten.de)
31.08.2012



Table of Contents:

1. Acknowledgements
2.1. Setup instructions to compile under Windows
2.2. Setup instructions for Linux (Ubuntu)
3. Compilation instructions


1. Acknowledgements

  LambdaFit uses the follwing libraries:
   - OpenCV 2.1.0 (BSD license)
   - Qt 4.7.1 (LGPL 2.1 licence)
   - libexif 0.6.20 (LGPL 2.1 licence)

  To compile the Windows version, MinGW and MSYS were used. 



2.1. Setup instructions to compile under Windows

  These instructions are for specific versions of the respectively
  used libraries. You should still be able to find and download them
  on the internet. It should work with newer versions as well, but
  you do so on your own risk.

  To setup the environment install the following programs:

  1. MinGW-gcc440_1.zip
     -- Extract the content somewhere; to play it save take a path
        on c:\ without blanks in the directory names.

  2. qt-win-opensource-4.7.1-mingw.exe
     -- During the installation you are asked for the directory location of mingw.
        This is the directory you extracted to in step 1.

  3. OpenCV-2.1.0-win32-vs2008.exe

  4. MSYS-1.0.11.exe
     -- Here, you have to state the mingw directory of step 1 as well.

  5. libexif-0.6.20.zip
     -- Copy the directory libexif-0.6.20 into the home directory of the 
        msys-directory (which is where you installed msys to in step 4).

  6. Start the msys-console and go to the libexif-0.6.20 directory. Then enter
     ./configure
     make
     make install

  7. These entries have to be defined under Windows "System variables"->"Path":
     (Replace the "..." for the respective paths you chose. The names may differ
     depending on the versions you installed.)
     
     C:\...\Qt\4.7.1\bin;
     C:\...\OpenCV2.1\bin;
     C:\...\mingw\bin;
     C:\...\msys\1.0\local\bin;




2.2. Setup instructions for Ubuntu (Linux)

  Make sure, you installed the following packages:
  -- libhighgui-dev
  -- libhighgui4
  -- libcv4
  -- libexif-dev 
  -- libexif12
  
  -- and all qt and gcc packages of course!




3. Compilation instructions

  Use the console (both Windows and Ubuntu) and go to the directory
  where the LambdaFit source files are.

  Run "qmake" once.

  Afterwards you can use "make" and "make clean" to compile.
  
  (In windows there is also the option of "make debug", "make release"
  or "make all".)


