Installation of Precompiled Version

For Windows XP, we provide a compiled version of the BCVTB.

To install the BCVTB, proceed as follows:

  1. Install cygwin. Cygwin can be obtained from http://www.cygwin.com/ or from the Ptolemy II web page, which also contains detailed installation instructions. Unless you need to compile your own source code, the basic package (cygwin100706basic.exe) on the Ptolemy II web page is sufficient.

  2. Download the Ptolemy II source code from the Ptolemy II web page and compile it as described on the Ptolemy II web page. The Windows Installer can not be used with the BCVTB. The Ptolemy source code can be installed anywhere on the PC.

  3. Add the following lines to the file ~/.bashrc (or .profile):
    On Linux and Mac OS X, add

    export PTII=/usr/local/ptolemy/ptII7.0.1
    export PATH=${PTII}/bin:${PATH}
    export CLASSPATH=${PTII}:${CLASSPATH}
    unset PTII
    

    On Windows, add

    export PTII=c:/prog/Ptolemy/ptII7.0.1
    export PATH=`cygpath -u ${PTII}/bin`:${PATH}
    export CLASSPATH=${PTII}:${CLASSPATH}
    

    Note that the value of PTII has forward slashes. You may adjust the path of PTII according to your local installation. We suggest using on Linux /usr/local/ptolemy/ptII7.0.1, on Mac OS X /Applications/ptolemy/ptII7.0.1 and on Windows c:/prog/Ptolemy/ptII7.0.1.

  4. Download the installation file bcvtb-install-x.y.z.jar from the download page, where x.y.z denotes the latest version number.

  5. Open a cygwin prompt and change to the directory where you saved bcvtb-install-x.y.z.jar

    1. Type java -jar bcvtb-install-x.y.z.jar

    2. Follow the installation instructions, but
      1. do not install into a directory whose name contains spaces, and

      2. do not install into a directory below cygwin's /home/"user" directory.

  6. Run an example problem as described in RunningExamples.

Known Problems

See release notes on the download page.

Uninstallation

The above installation does not write to any file outside the directory bcvtb. Hence, to uninstall, simply delete the directory bcvtb.

bcvtb: InstallationUser (last edited 2008-09-10 14:25:35 by MichaelWetter)