Pretty inexperience with compiling with options and variables. I think I got the options flag right, but I do not know what to type to define the variables. I found the following information, but I am not sure how to actually do the .configure command:
LV2:
compile with USE_SLV2 defined and libslv2 enabled.
Categories:
USE_LIBLRDF defined and liblrdf enabled
To assign environment variables (e.g., CC, CFLAGS…), specify them as VAR=VALUE.
Hi,
I am trying to compile for LADSPA category support and LV@ support. What I found was that I have to
LV2:
compile with USE_SLV2 defined and libslv2 enabled.
Categories:
USE_LIBLRDF defined and liblrdf enabled
To assign environment variables (e.g., CC, CFLAGS…), specify them as VAR=VALUE.
I am guessing that config should look almost like this:
but I do not know what to type to compile with USE_SLV2 and USE_LIBLRDF defined as I am too much of a noob to know exactly what that means in terms of what to type.
I am compiling from audacity-fullsrc-1.3.13-beta.tar.bz2 on Ubuntu 11.04
Thank you for the help!
I tried posting this earlier, but it did not show up, so sorry if this is a double post.
I am not a Linux guru but on Windows I change these in the code, not on the command line for the compiler (I know it can be do there as well but have never done so). Search each #define:
That did it, thanks. It compiled and ran fine, but when I open audacity, there are no categories and no lv2 plugins. When I open pref/effects, there is no entry for lv2, just ladspa, vamp, and nyquist. Any ideas what I did wrong or what I need to do next?
Since it appears to be defined in a Windows header:
winconfigwin.h(30):// #define USE_SLV2 1
I suspect you will need to define it on the command line when you compile. I don’t do much of this anymore and do not recall if it is done in configure or make. You might get away with adding the above #define in some high-level include file or in any source file where it is used.
I added it to experimental.h, but that did not work
Is there a linux equivalent to configwin.h? I coulod try defining it there instead.
I checked through the help file for configure with no luck. Also the install and readme files in the directories where the lv2 related files are. will look at the man page for make.
I think I am just missing something pretty simple here, because the categories did not compile either, although I found the def for that and uncommented it. Any other ideas?
As far as I know, you won’t be able to compile with LADSPA categories and LV2 support. The configure commands you would have used:
--with-redland use Redland for reading RDF data
--with-slv2 use SLV2 for loading LV2 plugins
--with-liblrdf use liblrdf for categorisation of LADSPA plugin
Defining EFFECT_CATEGORIES in src/Experimental.h should be sufficient for categorisation of built-in and Nyquist plug-ins, as I tried this only a few months ago. Have you done make clean, ./configure and make dep to be sure?
well that solves that with nothing lost but a few hours of wasted time I was able to workaround by loading the lv2 plugins into lv2rack and using jack, which is what I should have done in the first place. Categories would still be useful though.
That should still work for built-in and Nyquist plug-ins if you #define EFFECT_CATEGORIES in src/Experimental.h. If it doesn’t work, try a fresh checkout.
I checked that immediately before my previous post, so it was definitely working on 21st July and there have been no changes that I’m aware of since then that will affect that.