clap-host
clap-host copied to clipboard
rtmidi not found when on my system
OS: Kubuntu 22.04.1 LTS x86_64 Laptop: 20HBCTO1WW ThinkPad P51s Kernel: 5.15.0-52-lowlatency CPU: Intel i7-7600U (4) @ 3.900GHz
after running cmake --preset ninja-system, I get the following message:
Preset CMake variables:
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL="TRUE"
UsePkgConfig:BOOL="TRUE"
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
-- Checking for module 'rtmidi'
-- No package 'rtmidi' found
CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:603 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:825 (_pkg_check_modules_internal)
CMakeLists.txt:36 (pkg_check_modules)
I checked to see if I have rtmidi installed with apt search rtmidi:
hydrogen/jammy,now 1.1.1+52.gb917e057-1 amd64 [installed,automatic]
advanced drum machine/step sequencer
libportmidi-dev/jammy,now 1:217-6 amd64 [installed]
library for real-time MIDI input/output
libportmidi0/jammy,now 1:217-6 amd64 [installed,automatic]
library for real-time MIDI input/output
librtmidi-dev/jammy 5.0.0-2 amd64
C++ library for realtime MIDI input/ouput (development files)
librtmidi-doc/jammy,jammy 5.0.0-2 all
C++ library for realtime MIDI input/ouput (documentation files)
librtmidi6/jammy,now 5.0.0-2 amd64 [installed,automatic]
C++ library for realtime MIDI input/ouput
midisnoop/jammy,now 0.1.2+git20141108.bc30f600187e-1build3 amd64 [installed,automatic]
MIDI monitor and prober
python3-rtmidi/jammy,now 1.4.7-1build2 amd64 [installed]
Python wrapper for the RtMidi C++ library written with Cython
I was going to install librtmidi-dev, but it said it would remove many crucial packages on my system.
Some help on this would be much appreciated!
Then you should build using vcpkg.
Try scripts/build.sh