News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Programming Task: Learn Clutter.

Started by tschak909, May 07, 2010, 12:52:10 AM

Previous topic - Next topic

uplink

Quote from: dcubox1 on May 14, 2010, 11:08:13 AM
Quote from: totallymaxed on May 08, 2010, 11:25:53 AM
To compile the Uplink's demo just download it, uncompress the archive somewhere using;

tar zxf clutter-orbiter-sample.tar.gz<return>

Now you need the clutter lib;

apt-get install libclutter-1.0-dev<return>


Im trying to learn clutter at present, ive been throught the tutorials and now I wanted to build the example, i have the example downloaded and can see the cpp code etc, however when i try to do the install libclutter-1.0-dev it says it cannot find the package?? am i doing someting wrong?

You're doing it right, except that the package libclutter-1.0-dev was first introduced in Ubuntu Karmic. You'll have to either run Ubuntu 9.10 or 10.04, or backport the package.

dcubox1

If i change the code to use the 0.8 version which is available on kubuntu will it still work or do i need to setup a Ubuntu environment just to learn clutter?

totallymaxed

Quote from: dcubox1 on May 14, 2010, 11:53:33 AM
If i change the code to use the 0.8 version which is available on kubuntu will it still work or do i need to setup a Ubuntu environment just to learn clutter?

I'm not sure what differences there are between the libclutter version in 0810 and the 910/1004 version...give it a try

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

tschak909

There is a toolkit for Clutter called mx, which is being used for Moblin/MeeGo currently:

A description of it is here:
http://blogs.gnome.org/thos/2009/11/18/a-new-clutter-widget-toolkit/

a git repository of the toolkit is here:
http://git.moblin.org/cgit.cgi/mx/

-Thom

tschak909

Meanwhile, over on the qt side of things
http://labs.trolltech.com/blogs/category/labs/graphics/kinetic/declarative_ui/

Qt is a very compelling option. We'll just have to enable STL compatibility to work with our existing C++ code.

Quick is definitely something to look into, as the entire UI can be defined in Javascript, and style like languages.

an example walkthrough of some Qt Quick stuff:
http://meego.com/community/events/presentations/rapid-development-meego-using-qt-quick

-Thom