SEMAINE-1.0 Dependencies: Required software
The following software is required to run the SEMAINE-1.0 system.
Java 1.6
The SEMAINE-1.0-java components require Java 1.6. For just running the system, the Java Runtime Environment (JRE) is sufficient; you can optain it from http://www.java.com/getjava
To recompile Java code, get the Java Software Development Kit (JDK) from http://java.sun.com/javase/downloads/index.jsp, as well as the ant build tool, available from http://ant.apache.org/
ActiveMQ
Communication among all SEMAINE-1.0 components passes via the Java Messaging Service (JMS) server ActiveMQ. Binary distributions can be found at http://activemq.apache.org/download.html . We have tested versions 5.1.0 and 5.2.0; other versions of ActiveMQ may or may not work (let us know!).
After installation, ActiveMQ can be started by running
- on Linux:
apache-activemq-x.y.z/bin/activemq
- on Windows:
apache-activemq-x.y.z\bin\activemq.bat
Linux
The SEMAINE-1.0 linux components are distributed as source code. Most third-party software required to run the system is open source software, and is already included in the install package.
To build the system, a number of standard build tools need to be installed: gcc, automake, etc. To install them on an Ubuntu Linux system, type:
sudo apt-get install automake autoconf gcc g++ libasound2-dev make libtool patch libx11-dev
In order to build the ASR component, you must download the ATK toolkit. You can get it from: http://htk.eng.cam.ac.uk/develop/atk.shtml . Place the tarball in SEMAINE-1.0/thirdparty/download before starting the build script. Prior to the download you must register and apply for a UserID: http://htk.eng.cam.ac.uk/register.shtml . Be sure to remember the UserID you choose! It will not be included in the password e-mail you will get after registration!
Alternatively, you can disable compilation of the ASR component by commenting out the following two lines in SEMAINE-1.0/bin/buildall/modules.config:
#. $INCDIR/module.atklib.sh clean #. $INCDIR/module.tum.asr.sh clean
Windows
The SEMAINE-1.0 windows components are distributed as binaries plus source code. All third-party code needed to run the system is included in the release file.
IMPORTANT: the binaries are debug binaries for the moment, and the Microsoft EULA does not allow for the re-distribution of debug versions of their system libraries. Therefore, to run the binaries in the release, it is currently necessary to install the full development tools as described below. We will try to simplify the process in the near future.
To re-compile the code, the following software is needed.
- Microsoft Visual C++ 2005 Express Service Pack 1. You can get Visual C++ 2005 Express Edition for free from http://www.microsoft.com/express/2005/. In detail, you need the following files:
- Visual C++ 2005 Express Installer;
- Visual C++ 2005 Express Service Pack 1;
- (if you are running Vista) Vista update for SP1.
- Microsoft Platform SDK. Get it from http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en .
Remember where the Platform SDK gets installed -- e.g., C:\Program Files\Microsoft SDKs\Windows\v6.1. To make sure that Visual C++ uses this version of the Platform SDK in compiling the code, proceed as follows.
- In Visual C++, go to "Tools"->"Options..."->"Projects and Solutions"->"VC++ Directories".
- From "Show directories for", select "Include files". Click the "new line" button and add the "Include" subdirectory of the Platform SDK, e.g. "C:\Program Files\Microsoft SDKs\Windows\v6.1\Include".
- From "Show directories for", select "Library files". Click the "new line" button and add the "Lib" subdirectory of the Platform SDK, e.g. "C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib".
The build files are located in SEMAINE-1.0\GretaActive\GretaApplications\GretaRealTime\RealtimeBML\MSVC and SEMAINE-1.0\GretaActive\GretaApplications\GretaRealTime\RealtimePlayer\MSVC.