New LV2 EQ Plugin avalible now!

72 replies [Last post]
blackbox
User offline. Last seen 4 years 4 weeks ago. Offline
Joined: 2010-03-11
Posts:

Hi all,

First I want to thank sapista for creating this EQ from the screenshots alone I cant wait to see how this thing works. Which brings me to my question. I am using ubuntu karmic and I am having issues getting this stuff to work. I think my problem is with compiling lv2-c++-tools-1.0.3... I have tested the simple.cc and that does work. However I keep getting the following error message when trying to compile lv2-c++-tools-1.0.3 can someone point me in the right direction. I feel so close but yet so far. I am also a novice to unix but am willing to try because of its immense potential. Any help would be much appreciated. Error message below:

/Desktop/lv2-c++-tools-1.0.3# make install
mkdir -p //usr/local/include/lv2-c++-tools
cp libraries/lv2plugin/lv2plugin.hpp libraries/lv2plugin/lv2synth.hpp libraries/lv2plugin/../../headers/lv2.h libraries/lv2plugin/../../headers/lv2_event.h libraries/lv2plugin/../../headers/lv2_event_helpers.h libraries/lv2plugin/../../headers/lv2_osc.h libraries/lv2plugin/../../headers/lv2_uri_map.h libraries/lv2plugin/../../headers/lv2_saverestore.h libraries/lv2plugin/../../headers/lv2_contexts.h libraries/lv2plugin/../../headers/lv2types.hpp //usr/local/include/lv2-c++-tools
mkdir -p //usr/local/lib && cp libraries/lv2plugin/liblv2-plugin.a //usr/local/lib
mkdir -p //usr/local/include/lv2-c++-tools
cp libraries/lv2gui/lv2gui.hpp libraries/lv2gui/../../headers/lv2_ui.h libraries/lv2gui/../../headers/lv2_ui_presets.h //usr/local/include/lv2-c++-tools
mkdir -p //usr/local/lib && cp libraries/lv2gui/liblv2-gui.a //usr/local/lib
g++ -c -o libraries/paq/turtleparser.o -fPIC -DPIC -g -O2 libraries/paq/turtleparser.cpp
In file included from libraries/paq/turtleparser.hpp:38,
from libraries/paq/turtleparser.cpp:33:
libraries/paq/unicode.hpp:108: error: expected template-name before ‘<’ token
libraries/paq/unicode.hpp:108: error: expected ‘{’ before ‘<’ token
libraries/paq/unicode.hpp:108: error: expected unqualified-id before ‘<’ token
make: *** [libraries/paq/turtleparser.o] Error 1

/Desktop/lv2-c++-tools-1.0.3#

thanks for your help...

linuxdsp
linuxdsp's picture
User offline. Last seen 1 week 7 hours ago. Offline
Joined: 2009-02-04
Posts:

@blackbox: There's also something you may find of interest here:

http://www.linuxdsp.co.uk

:)

blackbox
User offline. Last seen 4 years 4 weeks ago. Offline
Joined: 2010-03-11
Posts:

Hey Linuxdsp... sorry if I'm a bit of a novice with this question but I have been trying to use the eq you recommended but even after I run it with Jack i still cant get it to control the stream in ardour.... what am I missing.

linuxdsp
linuxdsp's picture
User offline. Last seen 1 week 7 hours ago. Offline
Joined: 2009-02-04
Posts:

I'm not sure I understand exactly how you are trying to use the eq - the one I was refering to (screenshot on the front page of my site) is a plugin for ardour, so it shouldn't need to run using JACK. You should be able to unzip the file you download from the site, inside the zip file there will be a folder called 'universal' inside that there will be an x86 and an x86-64 folder. Choose one of these depending upon the CPU you have, x86 for 32Bit or x86-64 for 64Bit. Then from within that folder, copy the entire 'graph-eq2.lv2' folder to your LV2 plugins folder (normally at /usr/lib/lv2 or /usr/local/lib/lv2) - you may need root (admin) permissions to do this.

If none of this makes any sense, please use the 'contact us' link on my site to send me an email, and I'll try and talk you through how to install it.

youki
User offline. Last seen 5 weeks 2 days ago. Offline
Joined: 2008-07-03
Posts:

Hi, i tried to compile it on Debian sid 64 bits but it fails.

The dependencies seem to be ok :

i A pkg-config - manage compile and link flags for libraries
i A libgtkmm-2.4-dev - C++ wrappers for GTK+ (development files)
i libplotmm-dev - Headers for developing programs that will use plotmm
i lv2-c++-tools - tools for LV2 plugins
i libpstreams-dev - a C++ iostream interface to POSIX process I/O

But make gives this result :

$ make
g++ -O3 -shared -fPIC -DPIC plugin.cpp `pkg-config --cflags --libs lv2-plugin` -o paramEQ.so
Package lv2-plugin was not found in the pkg-config search path.
Perhaps you should add the directory containing `lv2-plugin.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lv2-plugin' found
plugin.cpp:21:25: error: lv2plugin.hpp: Aucun fichier ou dossier de ce type
plugin.cpp:38: error: ‘LV2’ is not a namespace-name
plugin.cpp:38: error: expected namespace-name before ‘;’ token
plugin.cpp:41: error: expected template-name before ‘<’ token
plugin.cpp:41: error: expected ‘{’ before ‘<’ token
plugin.cpp:41: error: expected unqualified-id before ‘<’ token
make: *** [paramEQ.so] Erreur 1

So i tried to localise where would be lv2-plugin.pc with apt-files serach or locate, but both of them didn't answer anything.

Is anyone able to give me advices? Thanx.

peder
User offline. Last seen 48 weeks 6 days ago. Offline
Joined: 2007-05-08
Posts:

Something must be wrong with either the lv2-c++-tools package or the PKG_CONFIG_PATH.

dpkg -L lv2-c++-tools
should list the files installed from that package. Where is lv2-plugin.pc installed according to that output and is the file acctually there in the file system?

youki
User offline. Last seen 5 weeks 2 days ago. Offline
Joined: 2008-07-03
Posts:

Thanx Peder for your help.

Unfortunately i don't see anything related to lv2-plugin.pc, i guess this file is not installed on my system.

$ dpkg -L lv2-c++-tools
/.
/usr
/usr/bin
/usr/bin/lv2peg
/usr/bin/lv2soname
/usr/share
/usr/share/doc
/usr/share/doc/lv2-c++-tools
/usr/share/doc/lv2-c++-tools/copyright
/usr/share/doc/lv2-c++-tools/changelog.Debian.gz
/usr/share/doc/lv2-c++-tools/changelog.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/lv2soname.1.gz
/usr/share/man/man1/lv2peg.1.gz

I tried an aptitude reinstall lv2-c++-tools but the result is the same.

Did someone managed to build it on Debian sid already?

youki
User offline. Last seen 5 weeks 2 days ago. Offline
Joined: 2008-07-03
Posts:

Ok, i built the package from the sources, the result seems better after it :

# dpkg -L lv2-c++-tools
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/lv2-c++-tools
/usr/share/doc/lv2-c++-tools/ChangeLog
/usr/share/doc/lv2-c++-tools/AUTHORS
/usr/share/doc/lv2-c++-tools/COPYING
/usr/share/doc/lv2-c++-tools/README
/usr/local
/usr/local/share
/usr/local/share/doc
/usr/local/share/doc/lv2-c++-tools
/usr/local/share/doc/lv2-c++-tools/ChangeLog
/usr/local/share/doc/lv2-c++-tools/AUTHORS
/usr/local/share/doc/lv2-c++-tools/COPYING
/usr/local/share/doc/lv2-c++-tools/README
/usr/local/include
/usr/local/include/lv2-c++-tools
/usr/local/include/lv2-c++-tools/namespaces.hpp
/usr/local/include/lv2-c++-tools/query.hpp
/usr/local/include/lv2-c++-tools/lv2plugin.hpp
/usr/local/include/lv2-c++-tools/lv2_contexts.h
/usr/local/include/lv2-c++-tools/lv2_uri_map.h
/usr/local/include/lv2-c++-tools/unicode.hpp
/usr/local/include/lv2-c++-tools/lv2synth.hpp
/usr/local/include/lv2-c++-tools/lv2.h
/usr/local/include/lv2-c++-tools/lv2_ui.h
/usr/local/include/lv2-c++-tools/lv2types.hpp
/usr/local/include/lv2-c++-tools/lv2_saverestore.h
/usr/local/include/lv2-c++-tools/lv2gui.hpp
/usr/local/include/lv2-c++-tools/lv2_ui_presets.h
/usr/local/include/lv2-c++-tools/lv2_osc.h
/usr/local/include/lv2-c++-tools/lv2_event.h
/usr/local/include/lv2-c++-tools/lv2_event_helpers.h
/usr/local/include/lv2-c++-tools/rdf.hpp
/usr/local/include/lv2-c++-tools/turtleparser.hpp
/usr/local/lib
/usr/local/lib/liblv2-gui.a
/usr/local/lib/liblv2-plugin.a
/usr/local/lib/libpaq.so.0.0.0
/usr/local/lib/libpaq.a
/usr/local/lib/pkgconfig
/usr/local/lib/pkgconfig/lv2-gui.pc
/usr/local/lib/pkgconfig/paq.pc
/usr/local/lib/pkgconfig/lv2-plugin.pc
/usr/local/bin
/usr/local/bin/lv2soname
/usr/local/bin/lv2peg
/usr/local/lib/libpaq.so

After i can compile the EQ10Q package without any problems.

So the version of lv2-c++-tools that is in the Debian repos was guilty.

peder
User offline. Last seen 48 weeks 6 days ago. Offline
Joined: 2007-05-08
Posts:

There probably is a lv2-c++-tools-dev package you should've installed to get the headers, libs and .pc files.

Edit: And for future reference, many distros seems to call that package libpaq-devel or libpaq-dev for some strange reason.

youki
User offline. Last seen 5 weeks 2 days ago. Offline
Joined: 2008-07-03
Posts:

No there is not :

$ apt-cache policy lv2-c++-tools-dev
N: Impossible de trouver le paquet lv2-c++-tools-dev
N: Impossible de trouver de paquet correspondant à l'expression rationnelle « lv2-c++-tools-dev »

And i have libpaq-dev installed :

$ apt-cache policy libpaq-dev
libpaq-dev:
Installé : 1.0.3-3
Candidat : 1.0.3-3
Table de version :
*** 1.0.3-3 0
500 http://ftp2.fr.debian.org/debian/ testing/main amd64 Packages
500 http://ftp2.fr.debian.org/debian/ sid/main amd64 Packages
100 /var/lib/dpkg/status

On this page : http://packages.debian.org/sid/lv2-c++-tools you can see this :

This package contains binaries lv2peg and lv2soname

So i think the Debian package doesn't provide all the stuff that the sources provide. You can see the difference with the dpkg -L package lv2-c++-tools built from sources and what i showed on my previous messages with the same command with the Debian package.

If the missing file was somewhere in the Debian repos, i guess that apt-file search would find it, isn't it?

So i made my own lv2-c++-tools package using checkinstall and it works.

lucianodato
User offline. Last seen 6 hours 21 min ago. Offline
Joined: 2011-01-25
Posts:

Hi I talked to Autostatic to compile this eq for ubuntu, the package is in his ppa (https://launchpad.net/~autostatic/+archive/ppa/+packages). Love this eq, but (there is always a but thing) would be great to have Q changes when scrolling over the points, and easier drag and drop of point (becouse only making click with the middle section of the pointer capture the point), anyway thanks a lot sapista!

nowhiskey
User offline. Last seen 4 weeks 2 days ago. Offline
Joined: 2006-09-30
Posts:

hallo,
i build the plugin from sources and it is crashing both a2 and a3 when i try to open the plugins gui:

http://tracker.ardour.org/view.php?id=3744

cheers,
doc