Tux Guitar


Subject impossible to run/install tuxguitar-1.0

Author Message
Post: Aug 12th 2008 at 2:58 PM

I installed successfully tuxguitar-1.0 but when I try to run it, I have following error messages :
Exception in thread "main" org.eclipse.swt.SWTException: Unable to load graphics library[Cairo is required] (java.lang.UnsatisfiedLinkError: no swt-cairo-gtk-3448 or swt-cairo-gtk in swt.library.path, java.library.path or the jar file)
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.graphics.Device.checkCairo(Unknown Source)
at org.eclipse.swt.graphics.Path.(Unknown Source)
at org.herac.tuxguitar.gui.editors.TGPainter.initPath(Unknown Source)
at org.herac.tuxguitar.gui.editors.tab.TGResources.getImage(Unknown Source)
at org.herac.tuxguitar.gui.editors.tab.TGResources.getScoreNoteImage(Unknown Source)
at org.herac.tuxguitar.gui.editors.tab.TGResources.initImages(Unknown Source)
at org.herac.tuxguitar.gui.editors.tab.TGResources.load(Unknown Source)
at org.herac.tuxguitar.gui.editors.tab.layout.ViewLayout.reloadStyles(Unknown Source)
at org.herac.tuxguitar.gui.editors.tab.Tablature.reloadStyles(Unknown Source)
at org.herac.tuxguitar.gui.editors.tab.Tablature.setViewLayout(Unknown Source)
at org.herac.tuxguitar.gui.editors.tab.Tablature.reloadViewLayout(Unknown Source)
at org.herac.tuxguitar.gui.editors.TablatureEditor.showTablature(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.createComposites(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: no swt-cairo-gtk-3448 or swt-cairo-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.cairo.Cairo.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
... 15 more

Do I miss something.

Thanks for all help


Back to Top
Post: Aug 12th 2008 at 3:08 PM

swt-cairo-gtk-3448 library is missing.

How did you install tuxguitar ?
What OS do you have ?

Back to Top
Post: Aug 13th 2008 at 6:21 AM

Hi Julian,
Thanks for the help.
To install, I was using tuxguitar-1.0-linux-x86-installer.bin

I'm under Scientific Linux (Red-Hat),

Back to Top
Post: Aug 13th 2008 at 8:47 AM

Hi Julian,
Finally, I found a solution, I went to
http://www.cairographics.org/download/ and download
the cairo package.

Again, many thanks for your help


Back to Top