Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtmidi not found when on my system #27

Open
vibenium opened this issue Oct 24, 2022 · 1 comment
Open

rtmidi not found when on my system #27

vibenium opened this issue Oct 24, 2022 · 1 comment

Comments

@vibenium
Copy link

vibenium commented Oct 24, 2022

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!

@abique
Copy link
Contributor

abique commented Oct 24, 2022

Then you should build using vcpkg.
Try scripts/build.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants