7.3. Software requirements

The current version of the BCVTB has been compiled on Linux Ubuntu, Mac OS X, and Windows.

To install the tools required for developing and compiling the BCVTB, proceed first as described in Section 3.2, “Installation” to install the BCVTB. Then, install the software described below and compile the BCVTB.

For development, the following additional software need to be installed.

Linux requires the Java Development Kit 5.0, Update 14 or higher, which may be obtained from http://java.sun.com/javase/downloads/index.jsp

Also required are the GNOME xml library, the expat library, and the Doxygen source code documentation generator tool. These programs can be installed by typing in a shell

sudo apt-get install libxml2-dev libexpat-dev doxygen graphviz

To generate the documentation, the following packages are required

sudo apt-get install docbook docbook-xsl libsaxon-java libxalan2-java docbook-xsl-saxon dblatex pdftk

The XCode development environment is needed, which provides all required libraries as well as the required Java Development Kit.

To generate source code documentation, Doxygen is required.

The Java Development Kit is required. This may be obtained from http://www.oracle.com . In the Windows Environment Variables setting, you may want to set the Path variable to %JAVA_JDK_PATH%\bin;%Path% with %JAVA_JDK_PATH% being the path to the Java Development Kit.

To generate source code documentation, Doxygen is required.

To compile C code or MATLAB/Simulink programs, Microsoft Visual C++ Express 2008 and higher is required on Windows 32 bit, whereas Microsoft Visual Studio Professional 2010 and higher is required on Windows 64 bit.

[Note]Note
Recent free release versions of Visual Studio Express such as Microsoft Visual Studio Express 2013 for Windows Desktop can be used on Windows 32 and Windows 64 bit.

The Intel Fortran compiler can be used to compile and link Fortran programs to the BCVTB libraries.

MATLAB/Simulink provides its own compiler. However, due to compatibility problems with the BCVTB libraries, we only support the Microsoft compiler. MATLAB/Simulink can be configured to use the Microsoft compiler by typing at the MATLAB prompt

mex -setup

This command will provide a list of available compilers, from which the Microsoft compiler should be selected. MATLAB will write the selection to its configuration file; and hence the selection needs to be done only once.