The BCVTB is a combination of a subset of the Ptolemy II software package and code developed by LBNL. This section explains how to update the subset of Ptolemy II that is used by the BCVTB. The process is the same for Linux and Mac OS X, and the files produced by this process will run on Linux, Mac OS X and Windows.
To update the subset of Ptolemy II that is used by the BCVTB, proceed as follows:
Download the Ptolemy II source code from
http://ptolemy.berkeley.edu/ptolemyII/ptII8.0/index.htm
to a directory, say to ~/ptII-dev
.
Compile Ptolemy II by typing
cd ~/ptII-dev export PTII=`pwd` rm -f config.* ./configure make fast install
Go to the directory where the BCVTB is installed, and type
export BCVTB_PTIISrc=$PTII ant updatePtolemyFiles export PTII=""
This will copy the subset of Ptolemy II that is used by the BCVTB to the directory bcvtb/lib/ptII/ptolemy
.
The statement export PTII=""
avoids that the Ptolemy II distribution in ~/ptII-dev
is used.
Optionally, delete the directory ~/ptII-dev
.