[ardour-dev] CVS Commit

Taybin Rutkin taybin at earthlink.net
Mon Apr 5 09:13:16 PDT 2004


Tom, your ISP is blocking all email from earthlink, so I can't email you directly anymore.

I'll add #include <cerror> to library_ui.cc.

The errors from libraptor are because the author doesn't believe he should #include stdio.h even though he uses its contents.  After all, what program doesn't include it?

You can ignore the ksi errors for now.  If you have gotten to that point, it means gtk-ardour has successfully compiled.

Taybin

-----Original Message-----
From: Tom Szilagyi <st444 at hszk.bme.hu>
Sent: Apr 5, 2004 8:53 AM
To: ardour-dev <ardour-dev at lists.ardour.org>
Subject: Re: [ardour-dev] CVS Commit

On Sun, Apr 04, 2004 at 05:41:30PM -0400, Taybin Rutkin wrote:
> Track information in the export dialog is now saved and restored.
> 
> I had to change the file format a little, so if you've used the CVS from
> Saturday, you should delete your session_name/instant.xml file.
> 

Fine, the PO thingy of yesterday has gone away with this :)

Some more (fairly trivial) cases [Apr 05, 04:13 PST]:

library_ui.cc: In method `void SoundFileBox::play_btn_clicked()':
library_ui.cc:960: `errno' undeclared (first use this function)
library_ui.cc:960: (Each undeclared identifier is reported only once
library_ui.cc:960: for each function it appears in.)

I put #include <cerrno> in gtk_ardour/library_ui.h to get it right.

A somewhat interesting case:

g++ -DLOCALEDIR=\""/usr/local/share/locale"\" -I. -I. -I.     -D_REENTRANT -O3 -march=i686 -fomit-frame-pointer -ffast-math -fstrength-reduce -fmove-all-movables -Wall -I/root/ardour/libs/sigc++ -I/root/ardour/libs/sigc++/sigc++/config -I/root/ardour/libs/pbd -I/root/ardour/libs/midi++ -I/root/ardour/libs/ardour -I/root/ardour/libs/soundtouch -I/root/ardour/libs/ -I/root/ardour/libs/gtk-canvas -I/root/ardour/libs/gtk-canvas/gtk-canvas -I/root/ardour/libs/gtkmmext -I/root/ardour/libs/gtkmm/gdk-- -I/root/ardour/libs/gtkmm/src -I/root/ardour/libs/gtkmm -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include     -I/usr/include/libxml2    -I/usr/include/libart-2.0   -DDATA_DIR=\"/usr/local/share\" -c -o plugin_selector.o `test -f plugin_selector.cc || echo './'`plugin_selector.cc
In file included from /usr/include/lrdf.h:8,
                 from plugin_selector.cc:25:
/usr/include/raptor.h:198: type specifier omitted for parameter
/usr/include/raptor.h:198: parse error before `*'
/usr/include/raptor.h:199: type specifier omitted for parameter
/usr/include/raptor.h:199: parse error before `*'
/usr/include/raptor.h:200: type specifier omitted for parameter
/usr/include/raptor.h:200: parse error before `*'
/usr/include/raptor.h:217: `FILE' was not declared in this scope
/usr/include/raptor.h:217: `stream' was not declared in this scope
/usr/include/raptor.h:217: parse error before `*'
/usr/include/raptor.h:249: `FILE' was not declared in this scope
/usr/include/raptor.h:249: `stream' was not declared in this scope
/usr/include/raptor.h:249: parse error before `char'


I put #include <cstdio> in gtk_ardour/plugin_selector.cc and it
worked, but i'm not sure this is the Right Thing to do.


And in the ksi part (i believe i've posted this once before, but
anyway, here we go):

g++ -DLOCALEDIR=\""/usr/local/share/locale"\" -I. -I. -I.     -g -Wall -I/root/ardour/libs/sigc++ -I/root/ardour/libs/sigc++/sigc++/config -I/root/ardour/libs/pbd -I/root/ardour/libs/midi++ -I/root/ardour/libs/ardour -I/root/ardour/libs/soundtouch    -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -I/usr/include/libxml2   -Wall -c -o ksi.o `test -f ksi.cc || echo './'`ksi.cc
ksi.cc: In method `void KSI::add_plugin(ARDOUR::Route *, unsigned int)':
ksi.cc:770: `LADSPA' undeclared (first use this function)
ksi.cc:770: (Each undeclared identifier is reported only once
ksi.cc:770: for each function it appears in.)
ksi.cc:770: parse error before `::'
ksi.cc:771: parse error before `::'
ksi.cc:773: parse error before `::'
ksi.cc:776: `infoiter' undeclared (first use this function)
ksi.cc:776: `pluginfo' undeclared (first use this function)
ksi.cc:781: `plugin' undeclared (first use this function)
ksi.cc:781: parse error before `::'
ksi.cc: In method `void KSI::adjust_parameter(unsigned int, double)':
ksi.cc:1639: parse error before `::'
ksi.cc: In method `int KSI::show_possible_plugins(unsigned int)':
ksi.cc:2277: parse error before `::'
ksi.cc:2278: parse error before `::'
ksi.cc:2284: `i' undeclared (first use this function)
ksi.cc:2284: `plugins' undeclared (first use this function)
ksi.cc: In method `int KSI::show_parameters(unsigned int, ARDOUR::PluginInsert *)':
ksi.cc:2427: parse error before `::'

I don't really oversee this ksi thing (i don't use it), so i just
leaved that as it is and issued a "make install" without caring about
anything.

When i finally started ardour, it segfaulted with the following
message, after i tried to create a new session (named 'new').  The
segfault happenes when i click the 'Create' button.
Maybe this is because i didn't compile the ksi part?


# ardour
Ardour/GTK 0.462.1 running with libardour 0.736.0
Loading UI configuration file /usr/local/etc/ardour/ardour_ui.rc
Loading system configuration file /usr/local/etc/ardour/ardour_system.rc
Loading user configuration file /root/.ardour/ardour.rc
MIDI: MTC on port hw:0 MMC on port hw:0
Use of deprecated SAXv1 function internalSubset
ardour: [ERROR]: KeyboardTarget: unknown action "set-mouse-mode-scrub"
Loading session /home/ardour/sessions/new using snapshot new
Segmentation fault

I'm more than happy to provide any more info if needed.


Tom
_______________________________________________
ardour-dev mailing list
ardour-dev at lists.ardour.org
http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org



More information about the Ardour-Dev mailing list