Ardour Trunk won't compile

I’m unable to compile ardour SVN Trunk. I keep getting this error.

g++ -o libs/ardour/plugin_insert.os -c -O0 -g -DARCH_X86 -msse -mfpmath=sse -DUSE_XMMINTRIN -DBUILD_SSE_OPTIMIZATIONS -Wall -DHAVE_LIBLO -DENABLE_NLS -DVST_SUPPORT -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Woverloaded-virtual -DHAVE_EXECINFO -DPACKAGE=“libardour” -DLIBSIGC_DISABLE_DEPRECATED -DDATA_DIR="/usr/local/share" -DMODULE_DIR="/usr/local/lib" -DCONFIG_DIR="/usr/local/etc" -DLOCALEDIR="/usr/local/share/locale" -DHAVE_JACK_CLIENT_OPEN -DHAVE_JACK_RECOMPUTE_LATENCIES -DHAVE_JACK_RECOMPUTE_LATENCY -DHAVE_JACK_VIDEO_SUPPORT -DHAVE_WORDEXP -DHAVE_SYS_VFS_H -fPIC -I/usr/local/include -Ilibs/pbd -I/usr/include/glib-2.0 -Ilibs/surfaces/control_protocol -Ilibs -Ilibs/libsndfile -Ilibs/sigc++2 -Ilibs/glibmm2 -I/usr/lib/glib-2.0/include -Ilibs/ardour -Ilibs/fst -Ilibs/midi++2 -I/usr/include/libxml2 -Ilibs/soundtouch -Ilibs/libsndfile/src libs/ardour/plugin_insert.cc
libs/ardour/ardour/vst_plugin.h:69: error: invalid covariant return type for ‘virtual std::set<unsigned int, std::less, std::allocator > ARDOUR::VSTPlugin::automatable() const’
libs/ardour/ardour/plugin.h:133: error: overriding ‘virtual std::set<ARDOUR::Parameter, std::lessARDOUR::Parameter, std::allocatorARDOUR::Parameter > ARDOUR::Plugin::automatable() const’
libs/ardour/ardour/plugin.h:136: warning: ‘virtual std::string ARDOUR::Plugin::describe_parameter(ARDOUR::Parameter)’ was hidden
libs/ardour/ardour/vst_plugin.h:77: warning: by ‘std::string ARDOUR::VSTPlugin::describe_parameter(uint32_t)’
libs/ardour/plugin_insert.cc: In member function ‘boost::shared_ptrARDOUR::Plugin ARDOUR::PluginInsert::plugin_factory(boost::shared_ptrARDOUR::Plugin)’:
libs/ardour/plugin_insert.cc:447: error: cannot allocate an object of abstract type ‘ARDOUR::VSTPlugin’
libs/ardour/ardour/vst_plugin.h:51: note: because the following virtual functions are pure within ‘ARDOUR::VSTPlugin’:
libs/ardour/ardour/plugin.h:136: note: virtual std::string ARDOUR::Plugin::describe_parameter(ARDOUR::Parameter)
scons: *** [libs/ardour/plugin_insert.os] Error 1

Has anyone got any ideas How I can fix it?

Cheers
Sam

VST support will not return to trunk for a while. Nobody should be building trunk anyway who is not either a developer or a very alpha-tester, and things are too “fragile” there right now to expect VST support to work. turn off VST_SUPPORT and it will build normally.

I just want to try out the midi support. Cheers for the reply.
Sam