Tonido Support Home
Log in Page Discussion History Go to the site toolbox

Developer:TonidoPlug GettingStarted

From Tonido Support


Developer Home | Support Forum | Tonido Feedback | Tonido Homepage

Setting up Development Environment in TonidoPlug

We highly recommend you build and develop Tonido apps for TonidoPlug using Ubuntu 8.04 first(see instructions for building on Ubuntu. You can do that by installing it in a VM. The reason is that almost all development activities will be much faster and easier. Compilation time would be significantly faster on the VM than on the plug. Once your code is completely developed, simply recompile it on the plug and you will be good to go.

Required Software Dependencies

  • Install GCC and build tools (atleast 4.3.3) sudo apt-get install build-essential
  • Install Subversion sudo apt-get install subversion
  • Install Bjam sudo apt-get install bjam
  • Install following libs

sudo apt-get install libjpeg62
sudo apt-get install libjpeg62-dev
sudo apt-get install libpng12-0
sudo apt-get install libpng12-dev
sudo apt-get install libssl-dev

Build Steps

  • Type from a directory where you want to checkout source code svn co http://developer.tonido.com/svn/codelathe/trunk/tonidosdk tonidosdk
  • The Tonido SDK will be downloaded to that folder.
  • Run tonidosdk\thirdparty\setup_armel-ubuntu904.sh
  • Go to tonidosdk\build\ folder
  • Set an environment variable:export TONIDO_BUILD_ARCH=ARMEL
  • Build Tonido Debug bjam
  • Run Tonido by going to tonidosdk\build\bin\gcc\debug and then first setting the LD_LIBRARY_PATH=. and then running ./tonidoconsole&
  • To build Tonido Release bjam release
  • Open your browser at http://127.0.0.1:10001 to view your Tonido SDK build

Site Toolbox:

Personal tools
TOOLBOX
LANGUAGES
This page was last modified on 22 December 2009, at 14:30. - This page has been accessed 1,004 times. - Disclaimers - About Tonido Support