Changes between Initial Version and Version 1 of SEMAINE-3.0-Compile


Ignore:
Timestamp:
09/24/10 16:07:25 (10 years ago)
Author:
masc01
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SEMAINE-3.0-Compile

    v1 v1  
     1= Compiling SEMAINE-3.0 components from source code = 
     2== Linux and Mac OS X == 
     3On Linux or Mac, the SEMAINE API library and the Opensmile SEMAINE component can be built from the SEMAINE-3.0-source package. All third-party software required to run the system is open source software, and is already included in the install package. 
     4 
     5To 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: 
     6 
     7{{{ 
     8sudo apt-get install automake autoconf gcc g++ libasound2-dev make libtool patch libx11-dev 
     9}}} 
     10To compile the required third-party software, the SEMAINE API and opensmile, go to the SEMAINE-3.0 directory and type: 
     11 
     12{{{ 
     13bin/buildall.sh 
     14}}} 
     15Compilation may take an hour. The configuration file bin/buildall/modules.config is the most important file to configure the build process if needed. 
     16 
     17We have tested this on Ubuntu Linux 10.04 and on Mac OS X 10.6.4 with the autotools installed via MacPorts. 
     18 
     19== Java == 
     20The SEMAINE-3.0-java components require Java 1.6. 
     21 
     22To recompile Java code, get the Java Software Development Kit (JDK) from http://www.oracle.com/technetwork/java/javase/downloads/index.html, as well as the ant build tool, available from http://ant.apache.org/. If you like to edit source code with Eclipse, there is also an Eclipse project for the java components in SEMAINE-3.0/java. 
     23 
     24The source code of MARY TTS is available from http://mary.dfki.de -- the MARY TTS installer includes an optional source package. Alternatively, the source code is available by anonymous svn as described on http://mary.opendfki.de. To compile, run ` ant ` in the top-level MARY directory. 
     25 
     26== Windows == 
     27If you want to build the components from the source code, you need to install a Visual C++ 2005 build environment and third-party software as follows. 
     28 
     29=== Visual C++ 2005 build environment ===#visual 
     30 
     31 * 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: 
     32   * Visual C++ 2005 Express [http://go.microsoft.com/fwlink/?LinkId=51410&clcid=0x409 Installer]; 
     33   * Visual C++ 2005 Express [http://download.microsoft.com/download/7/7/3/7737290f-98e8-45bf-9075-85cc6ae34bf1/vs80sp1-kb926748-x86-intl.exe Service Pack 1]; 
     34   * (if you are running Vista) [http://www.microsoft.com/downloads/info.aspx?na=90&p=&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=90e2942d-3ad1-4873-a2ee-4acc0aace5b6&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fc%2f7%2fd%2fc7d9b927-f4e6-4ab2-8399-79a2d5cdfac9%2fVS80sp1-KB932232-X86-ENU.exe Vista update for SP1]. 
     35 
     36 * Microsoft Platform SDK. Get it from http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en . 
     37 
     38Remember 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. 
     39 
     40 * In Visual C++, go to "Tools"->"Options..."->"Projects and Solutions"->"VC++ Directories". 
     41 * 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". 
     42 * 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". 
     43 
     44=== Third-party software dependencies ===#thirdparty 
     45 
     46All third-party software dependencies are now included in the SEMAINE-3.0-source package as precompiled libraries. 
     47 
     48=== Building the SEMAINE API ===#semaineapi 
     49The solution file for the SEMAINE API is {{{SEMAINE-3.0\c++\vs2005\semaine.sln}}}. 
     50 
     51It should be sufficient to select "build solution" from the Visual Studio menu to build the SEMAINE API library and some dummy executable components. 
     52 
     53 
     54=== Building OpenSMILE ===#opensmile 
     55 
     56The build files and detailed build instructions for Opensmile are located in SEMAINE-3.0\c++\src\tum\auxiliary\build. 
     57 
     58=== Building Greta ===#greta 
     59 
     60The source code of Greta can be obtained from https://trac.telecom-paristech.fr/trac/project/greta/downloader/ . Greta is easy to build once the environment is set up properly; there is a solution file called GretaApplications\GretaActive\MSVC\GretaActiveAll.sln which will build all sub-projects.