x42 / midifilter.lv2

LV2 plugins to filter midi events
https://x42-plugins.com/x42/x42-midifilter
GNU General Public License v2.0
70 stars 20 forks source link

Can't build under ubuntu - how to get LV2 SDK ? #2

Closed VvSurLeRiddim closed 11 years ago

VvSurLeRiddim commented 11 years ago

Hi, under ubuntustudio 12.04 LTS amd64, make fails with message "LV2 SDK was not found". I took a look at the makefile's code, apparently it checks for the existence of a package called simply "lv2", but in Ubuntu's repository there's not such a package. I do have "lv2core" installed, though. I can't see any available package named lv2-dev or livlv2-dev or anything like that ... What do I need to install for LV2 SDK on ubuntu ? Thanks.

x42 commented 11 years ago

sudo apt-get install lv2-dev should do the trick. At least that's the package in debian which does provide the lv2 headers and the pkg-config file /usr/lib/pkgconfig/lv2.pc (this is what the makefile checks and uses).

I have no idea about Ubuntu though, please ask your distributor. The upstream project offers the SDK for download from http://lv2plug.in/

x42 commented 11 years ago

PS. for later versions of ubuntu the plugins are available in the x42-plugins package: https://launchpad.net/ubuntu/+source/x42-plugins

x42 commented 11 years ago

lv2 version1.0 (which provides the SDK) was released 17-Apr-2012. That was after Ubuntu 12.04. Your best option is to backport it, find a backport (maybe KXStudio) or install it yourself.

x42 commented 11 years ago

PS. you might get away with replacing lv2 with lv2core in the two pkg-config lines in the Makefile (line 27, 32)