Home| Content 

II. Installation.
ECP package exists in two forms, i.e., the precompiled and source codes for Windows XP and the source code for other platforms with Unix/X11 (Linux, Sun Solaris, etc ) or Mac OS X.

    Microsoft Windows XP ECP Precompiled Package:

   Download the precompiled archive ecp-windows.zip into temporary directory from the link in download page.
   Execute setup.exe . While running setup.exe select the directory <Install Directory> and the setup type Typical .
   Run CompiCat program from CompiCat shortcut created by setup.exe on your desktop.

   Microsoft Windows XP ECP Source Package:

   Download the precompiled archive ecp-windows.zip into temporary directory from the link in download page.
   Execute setup.exe . While running setup.exe select the directory <Install Directory> and the setup type Custom .
   From the links in download page download and uncompress in <MinGWInstalDirectory>, <QtInstallDirectory>, <QwtInstallDirectory> the latest stable versions of MinGw, Qt, Qwt  for Microsoft Windows correspondingly. Follow package installation instructions (for a minimal requirements see Appendix C).

   Compile CompiCat code following the instructions below.
1. Set the new QWTDIR User environment variable by evoking "Start->Control Panel->System->Advanced->Environment variables"
   Click New and type Variable name QWTDIR and  Variable value <QwtInstallDirectory>.
   Add to the User environment variable PATH  <MinGWInstalDirectory>\bin; <QtInstallDirectory>\bin
2. Build CompiCat following the instructions below.
    From Command Prompt execute
cd  <Install Directory>\ecp\src\edcat
qmake edcat.pro
mingw32-make.exe clean
mingw32-make.exe
As the result of the installation compicat.exe will appear in <Install Directory>\ecp\bin . (For creating its shortcut on your Desktop see Appendix C.)


   Unix/X11 (Linux, Sun Solaris, etc ) and Mac OS X  ECP  Source Package:

    Download and uncompress the archive ecp-sources.tar.gz  into <Install Directory> from the link in download page.
    From the links in download page download and uncompress in <QtInstallDirectory> and <QwtInstallDirectory> the latest stable versions of Qt and Qwt  for for requested platform, correspondingly. By default, Qt and Qwt are configured for installation in the  /usr/local/Trolltech/Qt-x.x.x and /usr/local/qwt-x.x.x directories, correspondingly (where x.x.x is the version number). Follow package installation instructions (for a minimal requirements see Appendix C).

   Compile CompiCat code following the instructions below.

1. Locate qmake, moc and other Qt tools in the environment variable PATH and indicate Qwt components for CompiCat compilation in the environment variable QWTDIR.
If the shell is bash add the following lines to .profile:
 PATH=<QtInstallDirectory>/bin:$PATH
 export PATH

 QWTDIR =<QwtInstallDirectory>
 export QWTDIR
If the shell is csh or tcsh add the following lines to .login and/or to .cshrc or .tcshrc , correspondingly:
 setenv PATH <QtInstallDirectory>/bin:$PATH
 setenv QWTDIR <QwtInstallDirectory>
In case of some other different shell, modify your environment variables accordingly.
2. Build CompiCat following the instructions below.
cd <Install Directory>/ecp/src/edcat
qmake edcat.pro
make clean
make
As the result of the installation compicat executable should appear in <Install Directory>\ecp\bin . Make sure that it is so. (For creating its shortcut on your Desktop see Appendix C.)
 

Copyright ©  2008 MITPAN
ECP 1.3.0