You are here

qsampler from git fails to build

when attempting to build qsampler from git, i get the following error message:

-- Checking for module 'gig>=3.3.0'
-- Found gig, version 4.3.0.svn34
-- Looking for C++ include libgig/SF.h
-- Looking for C++ include libgig/SF.h - found
CMake Error at src/CMakeLists.txt:86 (qt_add_translation):
Unknown CMake command "qt_add_translation".

-- Configuring incomplete, errors occurred!
See also "/home/alex/Downloads/git/qsampler/CMakeFiles/CMakeOutput.log".
See also "/home/alex/Downloads/git/qsampler/CMakeFiles/CMakeError.log".
make[1]: *** [debian/rules:7: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/home/alex/Downloads/git/qsampler'
make: *** [debian/rules:3: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


rncbc's picture

make sure you have installed all the pre-requisites to build:

qt6-base-dev qt6-base-dev-tools qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libqt6svg6-dev liblscp-dev libgig-dev

the above list are the required package names for Debian 11+ or Ubuntu 22.04+ (in bold is the one I think is probably missing)

It was qt6-tools-dev. (Debian 11)

Thanks for the heads up.


Add new comment