On Sat, Jun 05, 2010 at 10:41:41PM +0200, Peder Hedlund wrote:
Quoting Peder Hedlund <peder(a)musikhuset.org>rg>:
Nope, A2 works fine with LV2, you just have to
have lv2-core and slv2
installed, and possibly pass LV2=1 (it is erroneously described
otherwise in the documentation) to the scons build line.
Just make sure you have a recent version of slv2, as I think it won't
work with something older than 0.6. slv2-0.6.6 and lv2core-3.0 are the
latest so get those first.
g++ -o libs/ardour/globals.os -c -Woverloaded-virtual -DGTK_NEW_TOOLTIP_API
-DPACKAGE=\"libardour2\" -DLIBSIGC_DISABLE_DEPRECATED
-DDATA_DIR=\"/usr/local/share\" -DMODULE_DIR=\"/usr/local/lib64\"
-DVAMP_DIR=\"/usr/local/lib64/ardour2/vamp\"
-DCONFIG_DIR=\"/usr/local/etc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_JACK_CLIENT_OPEN
-DHAVE_JACK_RECOMPUTE_LATENCIES -DHAVE_JACK_VIDEO_SUPPORT -DHAVE_JACK_PORT_ENSURE_MONITOR
-DHAVE_WORDEXP -DHAVE_SYS_VFS_H -DHAVE_LV2 -O3 -fomit-frame-pointer -ffast-math
-fstrength-reduce -pipe -DARCH_X86 -mmmx -msse -mfpmath=sse -DUSE_XMMINTRIN
-DBUILD_SSE_OPTIMIZATIONS -DUSE_X86_64_ASM -Wall -DHAVE_LIBLO -Ilibs -DENABLE_NLS
-DHAVE_SLV2 -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Ilibs -pthread
-DUSE_RUBBERBAND -fPIC -Ilibs/pbd -I/usr/include/glib-2.0 -Ilibs/surfaces/control_protocol
-Ilibs/midi++2 -Ilibs/vamp-sdk -Ilibs/sigc++2 -Ilibs/glibmm2 -I/usr/lib/glib-2.0/include
-Ilibs/ardour -Ilibs/rubberband -I/usr/include/libxml2 -I/usr/local/include
libs/ardour/globals.cc
In file included from /usr/local/include/slv2/slv2.h:29,
from libs/ardour/ardour/lv2_plugin.h:34,
from libs/ardour/ardour/plugin_manager.h:32,
from libs/ardour/globals.cc:62:
/usr/local/include/slv2/plugininstance.h:80: error: expected ‘,’ or ‘...’ before ‘*’
token
In file included from /usr/local/include/slv2/pluginuiinstance.h:27,
from /usr/local/include/slv2/slv2.h:31,
from libs/ardour/ardour/lv2_plugin.h:34,
from libs/ardour/ardour/plugin_manager.h:32,
from libs/ardour/globals.cc:62:
/usr/local/include/slv2/lv2_ui.h:277: error: expected ‘,’ or ‘...’ before ‘*’ token
In file included from /usr/local/include/slv2/slv2.h:31,
from libs/ardour/ardour/lv2_plugin.h:34,
from libs/ardour/ardour/plugin_manager.h:32,
from libs/ardour/globals.cc:62:
/usr/local/include/slv2/pluginuiinstance.h:67: error: expected ‘,’ or ‘...’ before ‘*’
token
In file included from libs/ardour/ardour/plugin_manager.h:32,
from libs/ardour/globals.cc:62:
libs/ardour/ardour/lv2_plugin.h:72: error: ISO C++ forbids declaration of ‘LV2_Feature’
with no type
libs/ardour/ardour/lv2_plugin.h:72: error: expected ‘;’ before ‘*’ token
libs/ardour/ardour/lv2_plugin.h:74: error: expected `;' before ‘std’
libs/ardour/ardour/lv2_plugin.h:119: error: ISO C++ forbids declaration of ‘LV2_Feature’
with no type
libs/ardour/ardour/lv2_plugin.h:119: error: expected ‘;’ before ‘*’ token
libs/ardour/ardour/lv2_plugin.h:135: error: ‘LV2_Feature’ does not name a type
libs/ardour/ardour/lv2_plugin.h:136: error: ‘LV2_Feature’ does not name a type
scons: *** [libs/ardour/globals.os] Error 1
scons: building terminated because of errors.
It's been a couple months, but this is what happened last I tried.
-ken