mod-audio / mod-host

LV2 host for Jack controllable via socket or command line
GNU General Public License v3.0
108 stars 55 forks source link

Compiling Error #53

Open tom4tom opened 2 years ago

tom4tom commented 2 years ago

Hi, during "make" I get two errors:

src/mod-host.c: In function ‘help_cb’: src/mod-host.c:571:28: error: ‘help_msg’ undeclared (first use in this function) 571 | size_t i, len = strlen(help_msg); | ^~~~ src/mod-host.c:571:28: note: each undeclared identifier is reported only once for each function it appears in src/mod-host.c: In function ‘main’: src/mod-host.c:779:26: error: ‘version’ undeclared (first use in this function) 779 | argv[0], version); | ^~~

Whats going wrong?

ToM

fps commented 2 years ago

I had the same error during compilation. It seems the makefile runs a python script to fill the src/info.h header. If python is not installed then this fails silently leaving a 0 bytes info.h file which does not contain the required help_msg variable.

Here's the list of packages I needed to build in a nix-shell on nixos:

nix-shell -p lilv jack2 readline fftw pkg-config python3