Tux Guitar


Subject Issues with building from source

Author Message
Post: Jan 25th 2009 at 5:53 PM

I am now using Gentoo X64, and I am attempting to build Tuxguitar from source. The dependencies have been fulfilled prior to the ant command. The output can be seen here:


I see that there is a lot of errors related to swt.. But swt is already installed

* dev-java/swt
Latest version available: 3.4-r2
Latest version installed: 3.4-r2
Size of files: 13,569 kB
Homepage: http://www.eclipse.org/
Description: GTK based SWT Library
License: CPL-1.0 LGPL-2.1 MPL-1.1

Do you have any recommendations in order to fix this?


Back to Top
Post: Jan 25th 2009 at 6:09 PM

Open "build.properties" file and make sure that "lib.swt.jar" is pointing to your swt.jar file.

I'm not really sure about gentoo..
but allmost distributions split *.so files from swt.jar
so if gentoo do the same, make sure also to complete "lib.swt.jni" property.

See this example:
# if swt.jar is at /usr/share/java

# if *.so files are at /usr/lib/jni

As you see, for the .jar file, you need to specify the full path to the file.
but for the .so files, you should specify the "folder" instead of files.

Back to Top
Post: Jan 25th 2009 at 6:14 PM

One thing that you need know,
is that you are building "tuxguitar" project only.
if you want plugins, you need to build them too.

See here:

Back to Top