Geonkick-Synthesizer / geonkick

Geonkick is a free software synthesizer capable of generating a wide range of percussive sounds, including kicks, snares, claps, hi-hats, shakers, and also unique effect sounds.
https://geonkick.org
GNU General Public License v3.0
93 stars 7 forks source link

fatal error: lv2/lv2plug.in/ns/lv2core/lv2.h: No such file or directory #1

Closed reahari closed 7 months ago

reahari commented 10 months ago

I am trying to compile geonkick on ubuntu 23.04 and encounter an error at compilation (all dependencies have been installed).

[ 99%] Building CXX object src/plugin/lv2/CMakeFiles/geonkick_lv2.dir/geonkick_lv2.cpp.o
/home/$USER/Desktop/geonkick/src/plugin/lv2/geonkick_lv2.cpp:24:10: fatal error: lv2/lv2plug.in/ns/lv2core/lv2.h: No such file or directory
   24 | #include <lv2/lv2plug.in/ns/lv2core/lv2.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/plugin/lv2/CMakeFiles/geonkick_lv2.dir/build.make:76: src/plugin/lv2/CMakeFiles/geonkick_lv2.dir/geonkick_lv2.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:471: src/plugin/lv2/CMakeFiles/geonkick_lv2.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

I did some research and it might be because the newer versions of lv2 break backwards compatibility

Sources:

iurienistor commented 10 months ago

@reahari Hi, I'll check. Probably LV2 released a new version, so, they had to break backward compatibility.

iurienistor commented 7 months ago

For now I'll not modify to use the new headers, but in the future maybe. For now I'll close this issue because this due to some distros turning off old LV2 headers... if I am not wrong.