Maemo开发环境的搭建和运行
来源:互联网 发布:windows 7状态不可用 编辑:程序博客网 时间:2024/05/24 16:13
this installation is for Ubuntu.
You can find online document on:
http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation
(1) At first you should install Xephyr :
apt-get install xserver-xephyr
(2) Installing Maemo 5 SDK:
1.download two install file from NOKIA:
maemo-scratchbox-install_5.0.sh
maemo-sdk-install_5.0.sh
2.change mode and install SDK:
$ chmod a+x ./maemo-scratchbox-install_5.0.sh ./maemo-sdk-install_5.0.sh
$ sudo ./maemo-scratchbox-install_5.0.sh -u USER
$ newgrp sbox
$ ./maemo-sdk-install_5.0.sh
$ /scratchbox/login
3.Accept the EULA on:
http://tablets-dev.nokia.com/eula/index.php
4.Install Scratchbox:
N.B. $ /scratchbox/login this can login scratchbox;
[sbox-FREMANTLE_X86: ~] > sb-conf select FREMANTLE_ARMEL
[sbox-FREMANTLE_ARMEL: ~] > nano /etc/apt/sources.list # add deb line
[sbox-FREMANTLE_ARMEL: ~] > apt-get update
[sbox-FREMANTLE_ARMEL: ~] > fakeroot apt-get install nokia-binaries nokia-apps
[sbox-FREMANTLE_ARMEL: ~] > sb-conf select FREMANTLE_X86
[sbox-FREMANTLE_X86: ~] > nano /etc/apt/sources.list # add deb line
[sbox-FREMANTLE_X86: ~] > apt-get update
[sbox-FREMANTLE_X86: ~] > fakeroot apt-get install nokia-binaries nokia-apps
(3) Starting/Shutting down the SDK UI
Before starting the UI framework, ensure that you have installed the following:
* Xephyr X11 server on the host machine outside the Scratchbox environment
* The SDK as described above
* The Nokia proprietary binary packages
1. Now, run Xephyr outside the scratchbox environment:
$ Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb &
2. Login to Scratchbox X86 target
$ /scratchbox/login
Welcome to Scratchbox, the cross-compilation toolkit!
Use 'sb-menu' to change your compilation target.
See /scratchbox/doc/ for documentation.
[sbox-FREMANTLE_X86: ~]>
3. Set the DISPLAY variable to match the display setting given for the Xephyr server.
[sbox-FREMANTLE_X86: ~] >export DISPLAY=:2
4. Start the UI framework .
[sbox-FREMANTLE_X86: ~] >af-sb-init.sh start
5. You will now see the UI framework up and running on the Xephyr window.
6. You can shut down the UI framework as follows:
[sbox-FREMANTLE_X86: ~] >af-sb-init.sh stop
(4) Order to switch the ARM to X86: sb-conf select FREMANTLE_ARMEL
(5) Install qt library in maemo:
1.add source to sources.list:
deb http://repository.maemo.org/extras/ diablo free non-free
deb-src http://repository.maemo.org/extras/ diablo free
deb http://repository.maemo.org/extras-devel/ diablo free non-free
deb-src http://repository.maemo.org/extras-devel/ diablo free
2.use apt-get to install qt library for X86 and ARM:
fakeroot apt-get install libqt4-core
fakeroot apt-get install libqt4-gui
fakeroot apt-get install libqt4-dev
- Maemo开发环境的搭建和运行
- Qt for Maemo的开发环境搭建流程
- Qt for Maemo的开发环境搭建流程
- Java开发和运行环境的搭建
- Java开发和运行环境的搭建
- Java开发和运行环境的搭建
- Java开发和运行环境的搭建
- Java开发和运行环境的搭建
- Java开发和运行环境的搭建
- 搭建Java Web的开发和运行环境
- (2)Java开发和运行环境的搭建详解
- Java开发和运行环境的搭建(详细教程)
- 在Ubuntu 9.10上搭建Maemo 5及Qt 4开发环境
- 在Ubuntu上搭建Maemo 5及Qt 4开发环境
- JAVA运行环境和J2EE运行环境的搭建
- JAVA运行环境和J2EE运行环境的搭建
- JAVA运行环境和J2EE运行环境的搭建
- JAVA运行环境和J2EE运行环境的搭建
- Hibernate的检索方式(四)
- Hibernate的检索方式(五)
- 《2013终极神差》
- GCC 命令行详解[转帖]
- xenocode使用说明
- Maemo开发环境的搭建和运行
- eclipse 中 Properties 文件编辑器插件的安装
- 物联网—生产力的变革
- 小邱邱,我想住进你的心房。
- .Net 加密
- 內存存儲常識
- 无法解决 equal to 操作中 "Chinese_PRC_Stroke_CI_AS" 和 "Chinese_PRC_CI_AS" 之间的排序规则冲突。
- 关于"Excel._Worksheet和DocEvents_Event之间存在二义性.将使用方法组"的问题
- aaa