ensemblesaw / ensembles-app

A digital arranger workstation powered by FluidSynth
323 stars 9 forks source link

Error while compiling from source #5

Closed Suzie97 closed 3 years ago

Suzie97 commented 3 years ago

Hey, I wanted to test the app and add some features if I can. But I get an error while compiling.

Screenshot from 2021-07-03 01-33-40

Can you help?

SubhadeepJasu commented 3 years ago

Are you using fluidsynth 2.2.1? It doesn't ship with elementary, so you may need to build it from source.

SubhadeepJasu commented 3 years ago

I would recommend pulling from master one more time and using the flatpak build. That will install all dependencies automatically. I have updated the README to include steps to do that. You will need flatpak-builder.

Suzie97 commented 3 years ago

Are you using fluidsynth 2.2.1? It doesn't ship with elementary, so you may need to build it from source.

can you tell the package name? I installed fluidsynth but it installed a gui app

SubhadeepJasu commented 3 years ago

Its this: https://github.com/FluidSynth/fluidsynth . You need to remove any existing fluidsynth installation. The libfluidsynth-dev that elementary ships with is very old. Before doing sudo make install use cmake -DLIB_INSTALL_DIR=/usr/lib ... That should do a proper installation of fluidsynth.

SubhadeepJasu commented 3 years ago

UPDATE: libfluidsynth-dev is available in elementary OS 6. You can install both libfluidsynth-dev and libportmidi-dev using

sudo apt install libfluidsynth-dev

and

sudo apt install libportmidi-dev
Suzie97 commented 3 years ago

UPDATE: libfluidsynth-dev is available in elementary OS 6. You can install both libfluidsynth-dev and libportmidi-dev using

sudo apt install libfluidsynth-dev

and

sudo apt install libportmidi-dev

I tried installing these packages, but they don't work.

Suzie97 commented 3 years ago

I tried building fluidsynth from source, the app compiled too, without errors.

But this happens with me and I can't solve it. https://github.com/FluidSynth/fluidsynth/wiki/BuildingWithCMake#note

As for the flatpak, there is something wrong with the GNOME runtime in my machine. Doesn't get installed. I'll see if I can solve the issues. Thank you for your help.

I'm closing this issue as the fault is in my system and not the app.

SubhadeepJasu commented 3 years ago

I switched to io.elementary runtime recently. So if you have eOS 6, that's an option.

Suzie97 commented 3 years ago

I switched to io.elementary runtime recently. So if you have eOS 6, that's an option.

oh great, I'll try it soon 😀️