[ardour-dev] compiling ardour2
Paul Symons
ardour at iove.org
Wed Mar 15 11:52:48 PST 2006
Hi,
I'm having continual problems compiling ardour2 with VST support. I've tried
CVS on and off the last month or so, and have only ever managed to compile
ardour2 by excluding vst support.
build command was
scons VST=1
i have PKG_CONFIG_PATH set towards the pkgconfig files for libfst as usual.
below is the error thrown back from the compiler.
hope someone can help.
Paul
g++ -o gtk2_ardour/vst_pluginui.o -c -O3 -fomit-frame-pointer -ffast-math
-fstrength-reduce -DARCH_X86 -
mmmx -m3dnow -march=i686 -msse -mfpmath=sse -DBUILD_SSE_OPTIMIZATIONS -Wall
-DVST_SUPPORT -DENABLE_NLS -
DPACKAGE=\"gtk_ardour\" -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DPACKAGE=\"gtk_ardour\"
-DLIBSIGC_DISABLE_DEPRECATED -DDATA_DIR=\"/usr/local/share\"
-DLOCALEDIR=\"/usr/local/share/locale\" -DG
LADEPATH=\"/usr/local/share/ardour/glade\" -DVERSIONSTRING=\"2.0alpha2\"
-I/usr/local/include/vst -I/usr
/include/cairo -I/usr/include/pango-1.0 -Ilibs/ardour -Ilibs/sigc++2
-Ilibs/glibmm2 -I/usr/lib/glib-2.0/
include -I/usr/local/include -Ilibs/pbd3 -I/usr/include/glib-2.0
-Ilibs/libglademm -Ilibs/gtkmm2/pango -
I/usr/include/freetype2 -Igtk2_ardour -Ilibs/gtkmm2/gtk
-I/usr/include/libglade-2.0 -I/usr/include/atk-1
.0 -I/usr/include/gtk-2.0 -Ilibs/midi++2 -Ilibs/gtkmm2/atk
-I/usr/include/libgnomecanvas-2.0 -Ilibs/gtkm
m2/gdk -I/usr/lib/gtk-2.0/include -I/usr/include/libxml2 -Ilibs/gtkmm2ext
-Ilibs/libgnomecanvasmm -I/usr
/include/libart-2.0 -Ilibs -Ilibs/soundtouch gtk2_ardour/vst_pluginui.cc
In file included from libs/glibmm2/glibmm/interface.h:24,
from libs/glibmm2/glibmm.h:38,
from libs/gtkmm2/gtk/gtkmm/button.h:6,
from gtk2_ardour/plugin_ui.h:30,
from gtk2_ardour/vst_pluginui.cc:28:
libs/glibmm2/glibmm/object.h:118: error: parse error before numeric constant
libs/glibmm2/glibmm/object.h:119: error: type specifier omitted for parameter
libs/glibmm2/glibmm/object.h:119: error: parse error before numeric constant
In file included from libs/gtkmm2/gdk/gdkmm/gc.h:31,
from libs/gtkmm2/gdk/gdkmm/drawable.h:33,
from libs/gtkmm2/gdk/gdkmm/window.h:27,
from libs/gtkmm2/gdk/gdkmm/event.h:28,
from libs/gtkmm2/gtk/gtkmm/widget.h:31,
from libs/gtkmm2/gtk/gtkmm/container.h:28,
from libs/gtkmm2/gtk/gtkmm/bin.h:29,
from libs/gtkmm2/gtk/gtkmm/button.h:29,
from gtk2_ardour/plugin_ui.h:30,
from gtk2_ardour/vst_pluginui.cc:28:
libs/gtkmm2/gdk/gdkmm/types.h:186: error: parse error before `int'
libs/gtkmm2/gdk/gdkmm/types.h:203: error: parse error before `int'
libs/gtkmm2/gdk/gdkmm/types.h:209: error: parse error before `}' token
In file included from gtk2_ardour/vst_pluginui.cc:28:
gtk2_ardour/plugin_ui.h: In member function `virtual bool
VSTPluginUI::start_updating(GdkEventAny*)':
gtk2_ardour/plugin_ui.h:220: warning: no return statement in function
returning
non-void
gtk2_ardour/plugin_ui.h: In member function `virtual bool
VSTPluginUI::stop_updating(GdkEventAny*)':
gtk2_ardour/plugin_ui.h:221: warning: no return statement in function
returning
non-void
libs/gtkmm2/gtk/gtkmm/widget.h: In member function `int
VSTPluginUI::package(Gtk::Window&)':
libs/gtkmm2/gtk/gtkmm/widget.h:2589: error: `void Gtk::Widget::realize()' is
protected
gtk2_ardour/vst_pluginui.cc:68: error: within this context
gtk2_ardour/vst_pluginui.cc:78: error: `steal' undeclared (first use this
function)
gtk2_ardour/vst_pluginui.cc:78: error: (Each undeclared identifier is reported
only once for each function it appears in.)
gtk2_ardour/vst_pluginui.cc: In member function `gboolean
VSTPluginUI::configure_handler(GdkEventConfigure*, GtkSocket*)':
gtk2_ardour/vst_pluginui.cc:90: error: invalid use of undefined type `struct
_GtkSocket'
libs/gtkmm2/gtk/gtkmm/socket.h:32: error: forward declaration of `struct
_GtkSocket'
gtk2_ardour/vst_pluginui.cc:95: error: invalid use of undefined type `struct
_GtkSocket'
libs/gtkmm2/gtk/gtkmm/socket.h:32: error: forward declaration of `struct
_GtkSocket'
gtk2_ardour/vst_pluginui.cc:96: error: invalid use of undefined type `struct
_GtkSocket'
libs/gtkmm2/gtk/gtkmm/socket.h:32: error: forward declaration of `struct
_GtkSocket'
gtk2_ardour/vst_pluginui.cc:103: error: invalid use of undefined type `struct
_GtkSocket'
libs/gtkmm2/gtk/gtkmm/socket.h:32: error: forward declaration of `struct
_GtkSocket'
gtk2_ardour/vst_pluginui.cc:116: error: invalid use of undefined type `struct
_GtkSocket'
libs/gtkmm2/gtk/gtkmm/socket.h:32: error: forward declaration of `struct
_GtkSocket'
gtk2_ardour/vst_pluginui.cc:117: error: invalid use of undefined type `struct
_GtkSocket'
libs/gtkmm2/gtk/gtkmm/socket.h:32: error: forward declaration of `struct
_GtkSocket'
scons: *** [gtk2_ardour/vst_pluginui.o] Error 1
scons: building terminated because of errors.
paul at fastpc ~/downloads/cvs builds/ardour-2.0alpha2 $
More information about the Ardour-Dev
mailing list