sonic-pi
sonic-pi copied to clipboard
Build errors regarding Qt5 cmake files (x64)
I'm trying to install Sonic Pi 4.4 on a PC so I can use it without relying on a Pi. Here are the specs from inxi
:
System: Lenovo ThinkCenter H50-50
CPU: Intel Core i5-4460 @ 3.4GHz
RAM: 8GB
GPU: Nvidia GeForce GT 705 PEG card
HDD: Seagate hard disk, 2TB
OS: Ubuntu MATE 22.04 Jellyfish
I followed the instructions in BUILD_LINUX.md
. I got the pre-requisites:
sudo apt install build-essential git libssl-dev ruby-dev elixir erlang-dev erlang-xmerl qttools5-dev qttools5-dev-tools libqt5svg5-dev libqt5opengl5-dev supercollider-server sc3-plugins-server alsa-utils jackd2 libjack-jackd2-dev libjack-jackd2-0 libasound2-dev cmake ninja-build
It did ask for an extra package (pulseaudio-module-jack
) but clearly stated that it was only needed for RaspiOS, not regular linux.
I cloned the git repo and ran ./linux-build-all.sh
, as instructed. It went relatively smoothly, then it spat this out:
CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:853 (_find_package):
Could not find a package configuration file provided by
"Qt5WebEngineWidgets" with any of the following names:
Qt5WebEngineWidgetsConfig.cmake
qt5webenginewidgets-config.cmake
Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above
files. If "Qt5WebEngineWidgets" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package)
vcpkg/scripts/buildsystems/vcpkg.cmake:853 (_find_package)
gui/qt/CMakeLists.txt:55 (find_package)
This was thrown at the makefile generation stage. I installed all the packages it required and stuff, but it errored out anyway! I need help to figure out what is causing this error and how to fix it.
Thanks.
Hiya. Could you try building from the 4.4 tag rather than the latest on the dev branch? That won't require any web engine stuff which will only be required in a future release.
@DepthsGD I recently encountered this issue too. Try installing qtwebengine5-dev
and see if that helps.
bruh I DID use the 4.4 branch (or whatever the default was). I didn't specify the branch, just to clone sonic-pi.git or whatever. Was I supposed to clone the dev branch?
On Wed, 9 Aug 2023, 10:02 am Sam Aaron, @.***> wrote:
Hiya. Could you try building from the 4.4 tag rather than the latest on the dev branch? That won't require any web engine stuff which will only be required in a future release.
— Reply to this email directly, view it on GitHub https://github.com/sonic-pi-net/sonic-pi/issues/3315#issuecomment-1670946133, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANW4YCOQFOJ2Q2PAJNTAPW3XUNG4FANCNFSM6AAAAAA3JS3754 . You are receiving this because you authored the thread.Message ID: @.***>
@DepthsGD The default branch is dev. To build v4.4, do git checkout v4.4.0
and do the build again. Hopefully this helps :)