Touchbook Development for Beginners

Anything related to compile and create applications for the Always Innovating OS

Touchbook Development for Beginners

Postby Rumplestilzken » Sat Dec 12, 2009 1:04 pm

I Just got my TouchBook and i would like to start developing for the platform immediately. One problem, i don't know how...

I've read a little online but cant find much, and the whole OpenEmbedded thing confuses me too. I downloaded the git repository for the touchbook, and almost everything is .bb or .bbclass, not really sure what that is either? I was wondering if i could get some help in these areas. And im sure your help would help many more people.

Also, ive tried compiling for the touchbook, as well as on and nothing seems to work. Might someone want to point me in the direction of a solution to cross compile with Eclipse on mac?
Rumplestilzken
 
Posts: 38
Joined: Fri Nov 27, 2009 8:20 am

Re: Touchbook Development for Beginners

Postby torpor » Sat Dec 12, 2009 4:11 pm

Your best bet would be to use the Touchbook itself:

ipkg install libc6-dev


This will fix your Touchbook (currently has a bug) so that you can use the onboard compiler to build apps .. then, you've got a 'standard' Linux kind of setup and can use gcc/g++ to build stuff ..

If you want a known-working codebase to start from, I ported a 3D game to the Touchbook and built it *on* my Touchbook using this method.. you can get the sources and see if you can build cleanly too:

http://w1xer.at/touchbook/tbWakeBreaker/

Download the sources on your Touchbook, unpack them, and then type 'make' .. if you end up with a clean build, you're good to go, and if you're interested in a 3D game, then WakeBreaker is a great starting place ..
torpor
 
Posts: 140
Joined: Fri Aug 21, 2009 1:35 am

Re: Touchbook Development for Beginners

Postby Rumplestilzken » Sun Dec 13, 2009 11:33 am

torpor wrote:Your best bet would be to use the Touchbook itself:

ipkg install libc6-dev


This will fix your Touchbook (currently has a bug) so that you can use the onboard compiler to build apps .. then, you've got a 'standard' Linux kind of setup and can use gcc/g++ to build stuff ..

If you want a known-working codebase to start from, I ported a 3D game to the Touchbook and built it *on* my Touchbook using this method.. you can get the sources and see if you can build cleanly too:

http://w1xer.at/touchbook/tbWakeBreaker/

Download the sources on your Touchbook, unpack them, and then type 'make' .. if you end up with a clean build, you're good to go, and if you're interested in a 3D game, then WakeBreaker is a great starting place ..


i tried installing libc6-dev with ipkg and it tells me package installed in root, nothing will be done. i tried doing it with sudo, but i dont know the password, and i haven't found it yet. but the when i run make, it spits out an arm-angstrom-gnuabi-g++ command not found error.
Rumplestilzken
 
Posts: 38
Joined: Fri Nov 27, 2009 8:20 am

Re: Touchbook Development for Beginners

Postby Govee » Sun Dec 13, 2009 12:43 pm

First code:
sudo -s

then:
Ikpg install some app
Govee
 
Posts: 44
Joined: Sat Oct 03, 2009 10:59 am

Re: Touchbook Development for Beginners

Postby Rumplestilzken » Mon Dec 14, 2009 5:03 pm

Unfortunately it will be about a week before i can continue messing with the touchbook. I got it as a Xmas gift, and cannot use it again until then :( lol
Rumplestilzken
 
Posts: 38
Joined: Fri Nov 27, 2009 8:20 am

Re: Touchbook Development for Beginners

Postby TomMD » Tue Dec 22, 2009 11:10 pm

Rumplestilzken wrote:Unfortunately it will be about a week before i can continue messing with the touchbook. I got it as a Xmas gift, and cannot use it again until then :( lol


You don't need a TB to start developing. See the wiki, setup the build environment, develop an app, build a package (.ipk), and be ready for the TB!
TomMD
 
Posts: 211
Joined: Fri Sep 11, 2009 9:25 am


Return to Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron