Posts

Showing posts from October, 2009

Ogre on Ubuntu

Image
Ubuntu / Kubuntu The following guide is for Ubuntu 8.04 and newer. For older versions please go herePlease post feedback in this threadI will not do a lot of explaining here and will assume that you know what each command does or at least know how to look it up. This is a guide to get you up and running as fast as possible on Ubuntu. Go to some directory you have write access to.

cd ~/Desktop
Uncomment all Ubuntu repositories in sources.list. sudo nano /etc/apt/sources.list
Run apt-get update. sudo apt-get update
Install necessary packages. sudo apt-get install pkg-config build-essential autoconf automake libtool libzzip-dev libxt-dev libxxf86vm-dev \
libxrandr-dev libfreeimage-dev nvidia-cg-toolkit checkinstall libfreetype6-dev libpcre3-dev libopenexr-dev \
freeglut-dev mesa-common-dev libtiff4-dev libglademm-2.4-dev libcppunit-dev libxaw7-dev libxaw-headers libois-dev
libxaw-headers is obsolete on Ubuntu 9.04 and can be dropped from the list. A sufficiently recent version of…

error: ‘ILvoid’ was not declared in this scope

-> replace "ILvoid" with "void"

Osmo Organizer

Image
[Howto] Compile & Install Osmo Organizer Osmo is a great little organizer (or as they put it "A Handy Personal Organizer"), with a nifty tabbed display which integrates a Calendar with Tasks, Contacts and Notes in a single app.

Here's a (post-configured) screenshot - default config looks godawful, with HUGE fonts and horrible colours.



Now, Osmo still isn't pre-compiled or distributed in binary format, so if you want to try it out, you'll have to get your hands dirty. Not too much, it's pretty easy.

1.
First things first, so... we have to go and get the source --> here (that's Osmo's sourceforge)

When I wrote this [Howto] latest version was v0.1.6. (updated - 20071224)

2.
Let's open up a terminal, and extract the source with the following command (make sure you cd to the folder to where you downloaded the .tar.gz file)

Code: tar xvf osmo-0.1.6.tar.gz And then cd into the created folder with Osmo's source code.

3.
It's time to satisfy the app'…

How to get this fancy Ubuntustudio-theme in Ubuntu

Image
You sure hear of Ubuntustudio which was released recently. “A multimedia creation flavor of Ubuntu. Ubuntu Studio is aimed at the GNU/Linux audio, video and graphic enthusiast as well as professional.” Maybe you have seen the nice theme too (like the screenshot on the right) I will show you now how you can get this theme on your ordinary Ubuntu Feisty.Add the ubuntustudio repository to you sources.list and download the key and update:
sudo su -c 'echo deb http://archive.ubuntustudio.org/ubuntustudio feisty main >> /etc/apt/sources.list'
wget -q http://archive.ubuntustudio.org/ubuntustudio.gpg -O- | sudo apt-key add - && sudo apt-get update Then install the packages as follows:
sudo apt-get install ubuntustudio-gdm-theme ubuntustudio-icon-theme ubuntustudio-look ubuntustudio-screensaver ubuntustudio-theme ubuntustudio-sounds
I am neither sure if you need all this packages nor if there are some missing, but for me it worked fine Now activate the theme and wallpaper:Go …

How to read the Comments in a pdf with acroread

I found nothing so I thought maybe acroread can do this. This is the Adobe Acrobat Reader for Linux. Get acroread per sudo apt-get install acroread.Open your pdf: acroread /path/to/your/file.pdf.Hover over the comment.It’s a pity that evince does not support comments. For me the goal“to replace the multiple document viewers that exist on the GNOME Desktop with a single simple application“is not yet achieved. (Printing multiple pages on one A4 sheet does not work too).

OpenCV Links

GBVS - Graph-Based Visual Saliency - How to Run ?

Image
Graph-Based Visual Saliency (GBVS) or the standard Itti, Koch, Niebur PAMI 1998 saliency map has source code on http://www.klab.caltech.edu/~harel/share/gbvs.php

However, i run it on linux ubuntu and windows vista. I need to edit some files. It's a great tool for saliency...

ERROR 1: gbvs_compile.m

??? Error using ==> cd
Cannot CD to util (Name is nonexistent or not a directory).

Error in ==> gbvs_compile at 4
cd util

SOLUTION 1: Edit gbvs_compile.m. Edit the line
cd util
to
cd %PATH_TO_UTIL/util

And you'll be successful in compiling.


ERROR 2: While running simplest_demonstration command, you'll get
??? Error using ==> load
Unable to read file mypath: No such file or directory.

Error in ==> getFeatureMaps at 7
load mypath;

Error in ==> gbvs at 55
[rawfeatmaps motionInfo] = getFeatureMaps( img , param , prevMotionInfo );

Error in ==> simplest_demonstration at 4
out = gbvs('samplepics/4.jpg' );

SOLUTION 2: Edit getFeatureMaps.m
line : load mypath;
to
%load mypath;

ERROR 3: …