psemiletov / drumrox

Drumrox is LV2 drum machine (DrMr fork) to load Hydrogen and Drumrox kits. It is compatible with MODERN Hydrogen kit format, and allow you to write drums as MIDI at your DAW.
https://psemiletov.github.io/drumrox/
GNU General Public License v3.0
22 stars 0 forks source link

Build error #1

Closed crshrprt closed 1 year ago

crshrprt commented 1 year ago

When trying to build drumrox following the instructions I get this error:

[ 14%] Building CXX object CMakeFiles/drumrox.dir/drumrox.cpp.o
cc1plus: warning: command-line option ‘-std=gnu99’ is valid for C/ObjC but not for C++
In file included from /home/user/opt/drumrox/drumrox.cpp:22:
/home/user/opt/drumrox/drumrox.h:23:10: fatal error: lv2/lv2plug.in/ns/ext/atom/forge.h: File o directory non esistente
   23 | #include "lv2/lv2plug.in/ns/ext/atom/forge.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/drumrox.dir/build.make:76: CMakeFiles/drumrox.dir/drumrox.cpp.o] Errore 1
make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/drumrox.dir/all] Errore 2
make: *** [Makefile:136: all] Errore 2

I'm on Debian sid and I have lv2-dev package installed.

psemiletov commented 1 year ago

Thank you for the report! I've just tried to compile in the VM, Debian Sid, and it works. But, can you try the last commit? Possible I've made a fix there.

crshrprt commented 1 year ago

I think the problem was lv2-dev from KXStudio and not from Debian, now it compiles. Thank you.