Cannot build LinuxSampler .deb files
Posted: Sun May 23, 2021 6:20 am
Hi,
I built and installed libgig .deb files ok. But I can't seem to build the LinuxSampler .deb files.
I'm on Ubuntu 18.04.5.
I installed flex and re-made parser which seemed to help, but when I run this command:
sudo dpkg-buildpackage -b
I get the following output:
In file included from parser_shared.h:24:0,
from parser.y:14:
../common/global_private.h:99:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
inline int ToInt(const std::string& s) throw(LinuxSampler::Exception) {
^~~~~
../common/global_private.h:106:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
inline float ToFloat(const std::string& s) throw(LinuxSampler::Exception) {
^~~~~
parser.y: In function ‘int InstrScript_parse(LinuxSampler::ParserContext*)’:
parser.y:311:25: sorry, unimplemented: non-trivial designated initializers not supported
});
^
parser.y:311:25: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:311:25: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:311:25: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:318:26: sorry, unimplemented: non-trivial designated initializers not supported
});
^
parser.y:318:26: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:318:26: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:318:26: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:348:25: sorry, unimplemented: non-trivial designated initializers not supported
});
^
parser.y:348:25: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:348:25: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:348:25: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:355:26: sorry, unimplemented: non-trivial designated initializers not supported
});
^
parser.y:355:26: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:355:26: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:355:26: sorry, unimplemented: non-trivial designated initializers not supported
Makefile:534: recipe for target 'parser.lo' failed
make[6]: *** [parser.lo] Error 1
make[6]: Leaving directory '/home/justin/software/LinuxSampler/linuxsampler/src/scriptvm'
Makefile:575: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/justin/software/LinuxSampler/linuxsampler/src/scriptvm'
Makefile:454: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/justin/software/LinuxSampler/linuxsampler/src/scriptvm'
Makefile:691: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/justin/software/LinuxSampler/linuxsampler/src'
Makefile:511: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/justin/software/LinuxSampler/linuxsampler'
Makefile:416: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/justin/software/LinuxSampler/linuxsampler'
debian/rules:35: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Any help would be much appreciated.
Also I want to use this as a plugin with Ardour. How can I enable VST?
# Building sampler as plugin for following host standards:
# DSSI: yes, LV2: yes, VST: no, AU: no
Many thanks,
Justin
I built and installed libgig .deb files ok. But I can't seem to build the LinuxSampler .deb files.
I'm on Ubuntu 18.04.5.
I installed flex and re-made parser which seemed to help, but when I run this command:
sudo dpkg-buildpackage -b
I get the following output:
In file included from parser_shared.h:24:0,
from parser.y:14:
../common/global_private.h:99:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
inline int ToInt(const std::string& s) throw(LinuxSampler::Exception) {
^~~~~
../common/global_private.h:106:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
inline float ToFloat(const std::string& s) throw(LinuxSampler::Exception) {
^~~~~
parser.y: In function ‘int InstrScript_parse(LinuxSampler::ParserContext*)’:
parser.y:311:25: sorry, unimplemented: non-trivial designated initializers not supported
});
^
parser.y:311:25: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:311:25: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:311:25: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:318:26: sorry, unimplemented: non-trivial designated initializers not supported
});
^
parser.y:318:26: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:318:26: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:318:26: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:348:25: sorry, unimplemented: non-trivial designated initializers not supported
});
^
parser.y:348:25: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:348:25: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:348:25: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:355:26: sorry, unimplemented: non-trivial designated initializers not supported
});
^
parser.y:355:26: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:355:26: sorry, unimplemented: non-trivial designated initializers not supported
parser.y:355:26: sorry, unimplemented: non-trivial designated initializers not supported
Makefile:534: recipe for target 'parser.lo' failed
make[6]: *** [parser.lo] Error 1
make[6]: Leaving directory '/home/justin/software/LinuxSampler/linuxsampler/src/scriptvm'
Makefile:575: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/justin/software/LinuxSampler/linuxsampler/src/scriptvm'
Makefile:454: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/justin/software/LinuxSampler/linuxsampler/src/scriptvm'
Makefile:691: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/justin/software/LinuxSampler/linuxsampler/src'
Makefile:511: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/justin/software/LinuxSampler/linuxsampler'
Makefile:416: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/justin/software/LinuxSampler/linuxsampler'
debian/rules:35: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Any help would be much appreciated.
Also I want to use this as a plugin with Ardour. How can I enable VST?
# Building sampler as plugin for following host standards:
# DSSI: yes, LV2: yes, VST: no, AU: no
Many thanks,
Justin