With some valuable help from the author, I’ve managed to build a local copy of Gargoyle from source, using the -DSOUND=QT
option to select the Qt sound system.
The resulting executable runs, but it does not produce any sound! Building for SDL results in an executable with correct sound. I don’t know how to begin diagnosing this issue.
The cmake
output does not show any problems:
cmake output
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.10.1")
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (found version "80")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found suitable version "1.6.37", minimum required is "1.6")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for modules 'sndfile;libmpg123;libopenmpt'
-- Found sndfile, version 1.0.28
-- Found libmpg123, version 1.25.13
-- Found libopenmpt, version 0.4.11+release.autotools
-- Checking for module 'speech-dispatcher'
-- No package 'speech-dispatcher' found
-- Checking for module 'fontconfig'
-- Found fontconfig, version 2.13.1
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- The following OPTIONAL packages have been found:
* Qt5DBus
-- The following REQUIRED packages have been found:
* Freetype
* JPEG
* PNG (required version >= 1.6)
* Qt5Core (required version >= 5.12.8)
* Qt5Gui (required version >= 5.12.8)
* Qt5Widgets
* Qt5Network (required version >= 5.12.8)
* Qt5Multimedia
* Qt5
* PkgConfig
* ZLIB
-- Configuring done
-- Generating done
-- Build files have been written to: <snipped correct path>
and the build completes without error. Can anyone suggest any methods for exploring the cause?