Author Topic: Programming Task: Learn Clutter.  (Read 29009 times)

uplink

  • Administrator
  • Guru
  • *****
  • Posts: 192
  • Linux and LinuxMCE witchdoctor
    • View Profile
Re: How to compile Uplinks clutter orbiter demo
« Reply #45 on: May 14, 2010, 11:17:12 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

  • Veteran
  • ***
  • Posts: 130
    • View Profile
Re: Programming Task: Learn Clutter.
« Reply #46 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?

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Programming Task: Learn Clutter.
« Reply #47 on: May 14, 2010, 12:03:01 pm »
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 http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Programming Task: Learn Clutter.
« Reply #48 on: May 24, 2010, 02:56:57 am »
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

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Programming Task: Learn Clutter.
« Reply #49 on: May 25, 2010, 06:28:54 am »
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