Clutter on Mac

Clutter is an open source software library for creating fast, visually rich, portable and animated graphical user interfaces. Also, it is a part of Moblin2 platform. I recently installed it on Mac OS X 10.5.8 for a homework of Mobile Linux for Embedded Design and Application Development Course.

You can see some Clutter UI demos on YouTube. Their 3D UI are very impressive for me.

http://www.youtube.com/watch?v=arL_-tQndzI
http://www.youtube.com/watch?v=AYGp6iBmCyM

Installation of Clutter on Mac is just 2 steps.

  1. Installing Macports
  2. Installing Clutter

1. Installing Macports

The MacPorts is an open-source to design an easy-to-use system for compiling, installing, and upgrading either command-line, X11 or Aqua based open-source software on the Mac OS X operating system. It is like RPM for linux. You can use Mac OS X package installer(.pkg) to install macports. This is very easy step. You can download Clutter on the following site.

http://www.macports.org/install.php

2. INSTAlling Clutter

After installing Macports, Macports installs Cluter as the following command.

$sudo port install clutter
Password:

The dependent modules are installed automatically by Macports. However, I failed to install db4. That seems to be caused by missing parameter of Java header in Makefile. This link was very useful for me.

https://trac.macports.org/ticket/20849

I changed it according to the way by jpocom@… <- Thank you very much.

File:/opt/local/var/macports/build/<db46-download-dir>/work/build_unix/Makefile
Before:CPPFLAGS= -I$(builddir) -I$(srcdir) -I/opt/local/include
After:CPPFLAGS= -I$(builddir) -I$(srcdir) -I/opt/local/include -I/System/Library/Frameworks/JavaVM.framework/Headers

Then you should complete to install Clutter on Mac. The following tutorial is also very useful to use Clutter from beginning.

http://tuxradar.com/content/clutter-beginners-tutorial

Good luck!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s