giada icon indicating copy to clipboard operation
giada copied to clipboard

cmake still can't find RtMidi despite vcpkg install; vcpkg installed incorrectly?

Open SimonDedman opened this issue 8 months ago • 3 comments

Environment

  • OS: Xubuntu 24.10
  • Giada version: 1.2 (attempting)

Describe the bug Trying to install giada from source via git & vcpkg per instructions:

~/Installers/vcpkg$ sh ./bootstrap-vcpkg.sh
~/Installers/vcpkg$ export VCPKG_ROOT=/home/simon/Installers/vcpkg
~/Installers/vcpkg$ export PATH=$VCPKG_ROOT:$PATH
~/Installers/giada$ cmake -B build/ -S . -DCMAKE_TOOLCHAIN_FILE=/home/simon/Installers/vcpkg/scripts/buildsystems/vcpkg.cmake

-- Could NOT find RtMidi (missing: RtMidi_DIR) -- Checking for module 'rtmidi' -- Package 'rtmidi', required by 'virtual:world', not found CMake Error at CMakeLists.txt:536 (message): Can't find RtMidi, aborting.

vcpkg looks like it installs fine; export lines don't return anything so I presume they complete correctly. The vcpkg.cmake file is definitely in the location specified. I've probably done something wrong but I can't see what. Any wisdom greatly appreciated!

Screenshots

Image

SimonDedman avatar Apr 21 '25 17:04 SimonDedman

Hi @SimonDedman, this is not the first time the error you are reporting comes up. On our side - both local development and Linux CI machine - everything is OK. What version of vcpkg are you using?

gvnnz avatar Apr 27 '25 16:04 gvnnz

Hi Giovanni,

I'm using the vcpkg instructions here; i.e. ./bootstrap-vcpkg.sh . LMK if there's a better way for xubuntu - I ended up quite confused. Thanks!

SimonDedman avatar Apr 30 '25 15:04 SimonDedman

@SimonDedman the instructions are correct. I suspect there's something wrong in the RtMidi + vcpkg combo. Maybe it's worth reporting the issue in the vcpkg repo...

gvnnz avatar May 10 '25 11:05 gvnnz