Tux Guitar

Problems

Subject compile errors on ubuntu 8.04



Author Message
Na-Fiann
Post: May 3rd 2008 at 12:08 PM

Hi,

I'm trying to compile tuxguitar on my ubuntu system.
I've installed all the dependencies listed and changed the build.properties into the default for ubuntu, but I still get 5 compile errors.
I'm using java 6, maybe that's why it won't compile? for some reason the build.properties has 1.4 as default.
Any ideas on this?

Na-Fiann


Back to Top
 
Julian
Post: May 3rd 2008 at 12:13 PM

> but I still get 5 compile errors.
you need to say us what are that errors.. then we'll can help

> for some reason the build.properties has 1.4 as default.
to make the compiled package, jre-1.4 compat.. ( there are some free JVM what still using 1.4 specification )


Back to Top
 
Na-Fiann
Post: May 3rd 2008 at 12:18 PM

ofc.. forgot that, the output is this:

[javac] Compiling 448 source files to /home/douwe/tuxguitar/TuxGuitar/build
[javac] /home/douwe/tuxguitar/TuxGuitar/src/org/herac/tuxguitar/gui/editors/tab/edit/EditorKit.java:5: cannot find symbol
[javac] symbol : class MenuDetectEvent
[javac] location: package org.eclipse.swt.events
[javac] import org.eclipse.swt.events.MenuDetectEvent;
[javac] ^
[javac] /home/douwe/tuxguitar/TuxGuitar/src/org/herac/tuxguitar/gui/editors/tab/edit/EditorKit.java:6: cannot find symbol
[javac] symbol : class MenuDetectListener
[javac] location: package org.eclipse.swt.events
[javac] import org.eclipse.swt.events.MenuDetectListener;
[javac] ^
[javac] /home/douwe/tuxguitar/TuxGuitar/src/org/herac/tuxguitar/gui/editors/tab/edit/EditorKit.java:25: cannot find symbol
[javac] symbol: class MenuDetectListener
[javac] public class EditorKit implements MouseListener,MouseMoveListener,MouseTrackListener,MenuDetectListener,MenuListener{
[javac] ^
[javac] /home/douwe/tuxguitar/TuxGuitar/src/org/herac/tuxguitar/gui/editors/tab/edit/EditorKit.java:198: cannot find symbol
[javac] symbol : class MenuDetectEvent
[javac] location: class org.herac.tuxguitar.gui.editors.tab.edit.EditorKit
[javac] public void menuDetected(MenuDetectEvent e) {
[javac] ^
[javac] /home/douwe/tuxguitar/TuxGuitar/src/org/herac/tuxguitar/gui/editors/tab/edit/EditorKit.java:45: cannot find symbol
[javac] symbol : method addMenuDetectListener(org.herac.tuxguitar.gui.editors.tab.edit.EditorKit)
[javac] location: class org.herac.tuxguitar.gui.editors.tab.Tablature
[javac] this.tablature.addMenuDetectListener(this);
[javac] ^
[javac] 5 error


Back to Top
 
Julian
Post: May 3rd 2008 at 12:29 PM

You are trying to build 1.0-rc3. true ? with swt-3.2.
To fix a bug on windows, we needed to add a feature from swt-3.3.. so no 3.2 compat .. ( now we could found a better way to fix that bug without swt-3.3. no SVN version )

So i can give you some options:

1_ download swt-3.3 from official web site:
http://www.eclipse.org/swt

2_ patch tuxguitar. on the "misc" folder, there is a file called:
tuxguitar_swt-3.2-patch.diff
That patch revert that change ( only affect to windows ) so make the sources swt-3.2 compat

3_ download the SVN version.

4_ install an already builded package :)


Back to Top
 
Na-Fiann
Post: May 3rd 2008 at 1:36 PM

All true:) thanks, I'll try to get swt-3.3


Back to Top