pianobooster / PianoBooster

A MIDI file player/game that displays the musical notes and teaches you how to play the piano.
Other
407 stars 77 forks source link

rtmidi development package not found #249

Open Stokestack opened 4 years ago

Stokestack commented 4 years ago

Opened the project file in Qt 5.15.0, and on attempting to build, that was the error result.

louis-barman commented 4 years ago

This are all the packages that you need to install before you try to build the code:

build-essential, cmake, pkg-config, libftgl-dev, qtbase5-dev, qttools5-dev, librtmidi-dev , fluid-soundfont-gm, libfluidsynth-dev

Please ensure that you have the package librtmidi-devinstalled

On Ubuntu run sudo apt-get install librtmidi-dev

I will update the BUILD.md instructions. Also there is an AppImage available please see the top of this page for details http://pianobooster.sourceforge.net/download.html

Please let me know if this fixes this issue.

Stokestack commented 4 years ago

Thanks for that info, Louis! I'm on Mac, so I guess I'll have to see how to integrate all of those dependencies.

I did try the pre-built 0.7.3 preview and it does launch, so that's encouraging.

louis-barman commented 4 years ago

I used HomeBrew on the mac to install the missing dependencies including rtmidi you can also set the cmake option USE_BUNDLED_RTMIDI to ON

Stokestack commented 4 years ago

Good to know, thanks!

louis-barman commented 3 years ago

@Stokestack There is now automated build for the mac. Please can you test it an let me know if it works for you. Please see https://github.com/pianobooster/PianoBooster/actions/runs/419215421.

I cannot tested it as I have an old mac book air running and old os. Also can you confirm that the official mac build works for you see: https://www.pianobooster.org/download.html that was build using an old OS. Thanks.