Tux Guitar


Subject bug in gp4 saving

Author Message
Post: Jan 24th 2009 at 3:20 PM

open it, go to measure 33, change tempo from 119 to 120 (to the end), save it as .gp4, open saved file, go to measure 33, the tempo change disappeared

Back to Top
Post: Jan 24th 2009 at 5:10 PM

Hi Afro, thanks for report this problem.
We have it fixed now on development version.

Back to Top
Post: Jan 24th 2009 at 7:11 PM

I've just downloaded development version from svn and fluidsynth plugin(in documentation there is something about cvs, i firstly tried downloading from cvs). Fluidsynth plugin didn't work, as I clicked configure in plugins window tuxguitar crashed with error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no tuxguitar-fluidsynth-jni in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.herac.tuxguitar.player.impl.midiport.fluidsynth.MidiSynth.(Unknown Source)
at org.herac.tuxguitar.player.impl.midiport.fluidsynth.MidiOutputPortProviderImpl.getSynth(Unknown Source)
at org.herac.tuxguitar.player.impl.midiport.fluidsynth.MidiOutputPortSettings.configure(Unknown Source)
at org.herac.tuxguitar.player.impl.midiport.fluidsynth.MidiOutputPortProviderPlugin.setupDialog(Unknown Source)
at org.herac.tuxguitar.gui.actions.settings.EditPluginsAction$1.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)

Nothing like tuxguitar-fluidsynth-jni.so was created during plugin compilation

Back to Top
Post: Jan 25th 2009 at 2:57 PM

We migrated from CVS to SVN some time ago ( before 1.0 )
it seems that we didn't edit the documentation entry.
SVN is the valid development version.

>> Nothing like tuxguitar-fluidsynth-jni.so was created during plugin compilation

All JNI plugins have a jni/ folder inside. ( tuxguitar-fluidsynth/jni ) where is the native source code, and a GNUmakefile.

You just need run "make" on this folder, and if all is ok, you'll get libtuxguitar-fluidsynth-jni.so

There is no "configure" file there.. so if you need configure something, you'll need to edit the make file, or export the flags.
CFLAGS?=-I$(shell gcj -print-file-name=include/)

* you need have fluidsynth devel files to build it. (if you need help with it, please let me know what OS are you running )

* if libfluidsynth.so, isn't at /usr/lib you'll need to do
export LDPATH=/where_is_fluidsynth/

* if you don't have GCJ,
this line will no work:
CFLAGS?=-I$(shell gcj -print-file-name=include/)

so you can change it to your JDK folder
doing something like:
export CFLAGS="-I/usr/lib/jvm/java-6-openjdk/include -I/usr/lib/jvm/java-6-openjdk/include/linux"

Back to Top