Setting Up Your Build phoneME Feature Environment (MR4)
This section describes how to prepare your Windows x86 build environment for building the JavaCall porting layer, PCSL, CLDC, and phoneME Feature client software.
This document contains the following sections:
* Setting Up the Windows x86 Build Environment
To properly use this document, two kinds of variables are set:
* Optional - Not required by the phoneME Feature build scripts. However, setting them makes this document easier to follow and use.
* Required - Required by the phoneME Feature build scripts.
Both kinds of variables are described in the following sections.
Setting Up the Windows x86 Build Environment
To set up your Windows x86 platform, you must take the following general steps:
* Install Cyg4Me
* Set up your Windows x86 work environment
* Set Windows x86 platform environment variables
Installing Cyg4Me
Before you build phoneME Feature on a Windows x86 platform, download and install Cyg4Me, version 1.1. Cyg4Me is a standardized version of Cygwin for building Java ME platform products on Windows. It provides the necessary UNIX® system tools, such as sh and gnumake.
1. Download the Cyg4Me zip file cyg4me1_1_full.zip.
This file contains all the executables and libraries needed to build on the Windows x86 platform.
2. Unzip the file.
For example, you could unzip the file into C:/cyg4me.
Setting Up Your Windows Work Environment
To properly set up your Windows work environment, you must run the Windows batch file, vcvars32.bat, as shown here:
"C:/Program Files/Microsoft Visual Studio 8/VC/bin/vcvars32.bat"
The vcvars32.bat file sets several Windows variables, including LIB, INCLUDE, and others.
Due to variations in Windows system configuration, the directory path to the vcvars32.bat file might differ from that shown here. If so, use the Windows Explorer to search for vcvars32.bat.
Note: If using a Windows path with spaces, as shown above, doesn't work, try entering a substitute path using Windows short names.
To find the short names for your directory path, change to each directory that has spaces and type:
$ dir /x
You can use also the cygpath utility (from Cyg4me) to get the Windows short name. For example:
$ cygpath -ms "C:/Program Files/Microsoft Visual Studio 8/VC/bin"
delivers the short name
C:/PROGRA~1/MICROS~2/VC/bin
If your compiler is Microsoft Visual Studio 2003, you might better set up your Windows work environment using the file vsvars32.bat. Run this Windows batch file as shown here:
C:/Program Files/Microsoft Visual Studio .NET 2003/Common7/Tools/vsvars32.bat
Note: Building phoneME Feature using Microsoft Visual Studio .NET 2003 may work, but it is not fully supported. For best results, use Microsoft Visual Studio 2005, as described in Requirements for Building on a Windows x86 Platform.
Setting Build Platform Environment Variables
To set up the Windows x86 build environment to build phoneME Feature software for the JavaCall porting layer on Windows x86 target platform, set the optional build variables shown in Table1-1 and the required build variables as shown Table1-2.
TABLE 1-1Optional Windows x86 Build Platform Variables
Name
Description
COMPONENTS_DIR
The location where you install the phoneME Feature software. For example, COMPONENTS_DIR=C:/home/chocolate/phoneME_feature.
Note: The sample directory /home/chocolate can also be referred to by the convention InstallDir. For example, InstallDir/phoneME_feature.
BUILD_OUTPUT_DIR
The location where executables and other build output for phoneME Feature components are stored. For example, BUILD_OUTPUT_DIR=%COMPONENTS_DIR%/build_output.
TABLE 1-2Required Windows x86 Build Platform Variables
Name
Description
JDK_DIR
Directory that contains the JDK software release. For example, JDK_DIR=C:/java/j2sdk1.6.0_07.
CYG4ME
Location where you download and unzip Cyg4Me. For example, CYG4ME=C:/cyg4me.
PATH
Must be set to include Cyg4Me and other tools used in the Windows x86 build process.
Setting Build Variables
1. Set your COMPONENTS_DIR environment variable to the location where you install the phoneME_feature directory.
$ set COMPONENTS_DIR=C:/InstallDir/phoneME_feature
2. Create the directory build_output as a folder and set the BUILD_OUTPUT_DIR variable.
$ set BUILD_OUTPUT_DIR=%COMPONENTS_DIR%/build_output
3. Set the JDK_DIR variable.
$ set JDK_DIR=C:/java/j2sdk1.6.0_07
Note: As shown in this command line, the JDK_DIR path must be set using Linux (forward) slashes.
4. Set the CYG4ME variable, as shown here:
$ set CYG4ME=C:/cyg4me
5. Add Cyg4Me and JDK_DIR to your PATH environment variable. Make the bin directory of your Cyg4Me installation the first element of your PATH, as shown here.
$ set PATH=%CYG4ME%/bin;%JDK_DIR%/bin;%PATH%
Note: If you previously installed Cygwin on your Windows x86 platform, remove all PATH elements that point to those previous versions.
分享到:
相关推荐
要毕业了,这是自己在学习过程中写的文档,仅供参考。文档中参考了书籍和网络资料,没能全部注明。 email: jinfuz@163.com
一些关于end points detection和phoneme segmentation方法的papers
phoneme_advanced-mr2交叉编译,CVM移植ARM交叉编译
收集自Sun官方的开源项目phoneME,J2ME游戏编程时你会用到,你可以由此进一步探讨JavaME在Java底层的实现,可能对新手有些难度。
phoneme feature vm Architecture and Design Guide Sun Java™ Wireless Client Software 2.2 Java Platform, Micro Edition
sun 提供的移動式虛擬機器,有支援 awt gui
PhoneMe软件设计文档宣贯.pdf
phoneME-android:开源Java ME应用程序平台
GP2X-SDL版本的phoneME的构建自动化 先决条件: 的Python 3 pip install pexpect qemu-system-i386 ssh sshpass 工具版本: Debian 5.0.10 gcc 3.4.6 SDL 1.2.15 SDL_image 1.2.12 SDL_mixer 1.2.12 JDK...
安装 npm install phoneme-sequencer用法 var sequencer = require('phoneme-sequencer');var seq = sequencer.completeSequence( { base: ['START', 'L'] // Does not have to include 'START' or 'END' boundary: ...
phoneme_seequence 运行“ barkeet_sequence”指令 块设计: 2 x序列/序列-1.psyexp(每个块〜6分钟)2 x序列/序列-2.psyexp(每个块〜6分钟)1 x sequence-lexical_decision / sequence-1_LD.psyexp(每个块〜2...
npm install word-phoneme-map 用法 在使用地图之前的某个时间,您需要调用setUpDatabase来设置数据库,如下所示: var setUpDatabase = require('word-phoneme-map').setUpDatabase; setUpDatabase( { db...
基于Phoneme类的多模型方法,用于与文本无关的短话说话者识别
音素到音素(G2P) 音素到音素的相关材料集合 讲解 使用CMUSphinx工具提供的开源G2P构建语音词典的教程 工具 可训练的音素到音素转换器 您可以从上面的链接中获取原始源代码,但是自上一版本于2016年5月发布以来,...
利用SAPI 5.0进行音素分解图片说明。
自相关虽然能够判断清/浊音,并估计浊音的基音周期,但是其运算量很大,用乘法运算所需时间较长。为了避免乘法,采用短时平均幅度差函数(AMDF),验证AMDF与自相关有类似的作用,即平均幅度差函数能够代替自相关...
将英语字母和数字转为对应的音素,原文地址见 http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/areas/speech/systems/eng2phon/
Speech recognition using stochastic phonemic segment model based on phoneme segmentation Speech Recognition Using Stochastic Phonemic Segment Model Based on Phoneme Segmentation Chieko Furuichi, ...
怎么跑编码解码VN字的源代码存储在./nor目录中
An automatic phoneme segmentation method in continuous Tibetan language under the condition of resource-deficiency