Help to build Spectacle analyzer

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

Post Reply
User avatar
sunrat
Established Member
Posts: 915
Joined: Wed Jul 22, 2020 2:08 pm
Has thanked: 151 times
Been thanked: 242 times

Help to build Spectacle analyzer

Post by sunrat »

I usually manage to build programs I wish to try usually by just reading the README files and/or muddling through with successively installing dependencies reported by make errors, and occasionally asking for help. I need help with this one. Could someone please post a more precise guide to building it?
https://github.com/jpcima/spectacle
Kott
Established Member
Posts: 818
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok
Has thanked: 65 times
Been thanked: 122 times

Re: Help to build Spectacle analyzer

Post by Kott »

Code: Select all

git clone --recursive https://github.com/jpcima/spectacle
cd spectacle
make -j<num_of_core>
User avatar
sunrat
Established Member
Posts: 915
Joined: Wed Jul 22, 2020 2:08 pm
Has thanked: 151 times
Been thanked: 242 times

Re: Help to build Spectacle analyzer

Post by sunrat »

Thanks @Kott . I think that's pretty much how I tried before (was over a week ago). Still get this error:

Code: Select all

...
Compiling src/OpenGL.cpp (OpenGL variant)
In file included from src/OpenGL.cpp:18:
src/../OpenGL.hpp:74:11: fatal error: GL/gl.h: No such file or directory
   74 | # include <GL/gl.h>
      |           ^~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:128: ../build/dgl/OpenGL.cpp.opengl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/roger/bin/build/spectacle/dpf/dgl'
make: *** [Makefile:21: libs] Error 2
Kott
Established Member
Posts: 818
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok
Has thanked: 65 times
Been thanked: 122 times

Re: Help to build Spectacle analyzer

Post by Kott »

do you have OpenGL headers installed?
User avatar
sunrat
Established Member
Posts: 915
Joined: Wed Jul 22, 2020 2:08 pm
Has thanked: 151 times
Been thanked: 242 times

Re: Help to build Spectacle analyzer

Post by sunrat »

Great, got it. Thanks for the help @Kott . I had to install libgl1-mesa-dev and it's dependencies, and subsequently libfftw3-dev as well. Debian Bullseye. It's been a while since I compiled anything and my dependency search-fu is lacking. :? :D
Working nicely as LV2 plugin loaded in Carla, is responsive and looks good. 8)
Post Reply