Enigma1 THE BIBLE - Environment setup to compile your code
来源:互联网 发布:mac 桌面程序开发 编辑:程序博客网 时间:2024/06/05 20:35
Enviroment setup to compile your code
- Environment setup to compile your code
Before to start to learn Enigma you need an Environment to compile
sources and test the code.
You need:
1) A pc with Linux opsys
2) enigma CDK
Warning: If you install the Enigma CDK following these instructions and using the directory /dream as described here you can compile all the demo sources with the supplied makefile. Otherwise you have to change paths in the makefile to accord it with your installed CDK.
Instructions to setup your environment.
1) Be sure you have installed on your Pc a recent Linux distribution with the following packages:
- cvs
- autoconf >= 2.57a
- automake >= 1.8
- libtool >= 1.4.2
- gettext >= 0.12.1
- make >= 3.79
- makeinfo (texinfo)
- tar
- bunzip2 (bzip2)
- gunzip (gzip)
- patch
- infocmp (ncurses-bin / ncurses-devel)
- gcc 2.95 or >= 3.0
- g++ 2.95 or >= 3.0
- flex
- bison
- pkg-config
- wget
- libpng2 or libpng3 (DirectFB)
2) Login into Linux machine as root and digit this commands from the command line. (Warning to the dot after rdreambox).
This is a long procedure and will take some hours.
Code:
cd /mkdir /dreamcd /dreamexport CVS_RSH=sshcvs -d anoncvs@cvs.tuxbox.org:/cvs/tuxbox -z3 co -P -rdreambox .cd cdkchmod ugo+x prepare./prepare dm7000make checkoutmake dreamboximage_rootmake rebuild-flashmake flash-compress
Once you have installed the CDK you are ready to continue with this tutorial and to compile the demo applications provided.
You have only to create a working directory as for example:
mkdir mydevel
and copy in it the sources you want to compile.
To compile a demo source you have only to go in this directory and digit the command:
make
To test a compiled code you have only to upload in your Dreambox in /var/tuxbox/plugins directory
the files:
Bibledemo.so
Bibledemo.cfg
To be continued ...
- Enigma1 THE BIBLE - Environment setup to compile your code
- The Bible Enigma1 Tutorial
- Enigma1 THE BIBLE - Lesson2: Buttons
- Enigma1 THE BIBLE - Lesson3: MessageBox
- Enigma1 THE BIBLE - Lesson4: TextInput
- Enigma1 THE BIBLE - Lesson5: Checkbox
- Enigma1 THE BIBLE - Lesson6: Listbox
- Enigma1 THE BIBLE - Lesson7: Combobox
- Enigma1 THE BIBLE - Application Structure Overview
- Enigma1 THE BIBLE - Lesson1: Hello World Window
- Enigma1 THE BIBLE - Lesson8: Http Connection and Download
- MinGW64 Compile Environment Setup On Win7-x64
- Setup your Asp.net AJAX environment
- The right method to compile android SDK from source code
- How to compile your kernel
- use option std c99 or std gnu99 to compile your code
- Cannot run compiler 'cl'. Maybe you forgot to setup the environment?
- WARNING: Project ERROR: Cannot run compiler 'g++'. Maybe you forgot to setup the environment?
- Mozilla的前世今生
- 在模仿中学习进步
- Mysql数据备份三(脚本备份mysqldump)
- Windows消息大全
- The Bible Enigma1 Tutorial
- Enigma1 THE BIBLE - Environment setup to compile your code
- Enigma1 THE BIBLE - Application Structure Overview
- Enigma1 THE BIBLE - Lesson1: Hello World Window
- 迷茫 1
- Enigma1 THE BIBLE - Lesson2: Buttons
- Enigma1 THE BIBLE - Lesson3: MessageBox
- Enigma1 THE BIBLE - Lesson4: TextInput
- Enigma1 THE BIBLE - Lesson5: Checkbox
- Enigma1 THE BIBLE - Lesson6: Listbox