views:

21

answers:

0

I have been in search of a tool to develop multi touch applications on linux. I happened to come across libavg a few days ago, but when I tried to run a sample program using libavg the program showed segmentation fault. I am using Ubuntu 10.04. When I looked it up on libavg's Wiki page they had given a few workarounds, but none of them worked. What should I do? Has anyone else come across similar problems with libavg on linux? Here's the code:

#!/usr/bin/env python
# -*- coding: utf-8 -*-

from libavg import avg

player = avg.Player.get()
player.loadFile("text.avg")
player.play()

Contents of avg file:

<?xml version="1.0"?>
<avg width="640" height="480">
<words id="ClashText" x="10" y="10" font="arial" text="Should I stay or should I go?"/>
</avg>