digego / extempore

A cyber-physical programming environment
1.4k stars 127 forks source link

Issue building on Linux Mint 17 Qiana 64-bit #294

Closed davidkneely closed 7 years ago

davidkneely commented 7 years ago

Scanning dependencies of target portmidi [ 14%] Building C object CMakeFiles/portmidi.dir/pm_common/portmidi.c.o [ 28%] Building C object CMakeFiles/portmidi.dir/pm_common/pmutil.c.o [ 42%] Building C object CMakeFiles/portmidi.dir/porttime/porttime.c.o [ 57%] Building C object CMakeFiles/portmidi.dir/porttime/ptlinux.c.o [ 71%] Building C object CMakeFiles/portmidi.dir/pm_linux/finddefault.c.o [ 85%] Building C object CMakeFiles/portmidi.dir/pm_linux/pmlinux.c.o [100%] Building C object CMakeFiles/portmidi.dir/pm_linux/pmlinuxalsa.c.o **/home/david/code/extempore/cmake-build/portmidi/src/portmidi/pm_linux/pmlinuxalsa.c:19:28: fatal error: alsa/asoundlib.h: No such file or directory

include <alsa/asoundlib.h>**

                        ^

compilation terminated. make[5]: [CMakeFiles/portmidi.dir/pm_linux/pmlinuxalsa.c.o] Error 1 make[4]: [CMakeFiles/portmidi.dir/all] Error 2 make[3]: [all] Error 2 make[2]: [portmidi/src/portmidi-stamp/portmidi-build] Error 2 make[1]: [CMakeFiles/portmidi.dir/all] Error 2 make: [all] Error 2

benswift commented 7 years ago

Hi David

I don't have a mint box - so you might have to poke around in the package manager to find out which package provides the ALSA header files. Once we find the right package, I can add the info to the docs.

digego commented 7 years ago

Or David could update the docs with Mint instructions and submit a pull request.

On Fri, Jan 20, 2017 at 9:16 AM, Ben Swift notifications@github.com wrote:

Hi David

I don't have a mint box - so you might have to poke around in the package manager to find out which package provides the ALSA header files. Once we find the right package, I can add the info to the docs.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/digego/extempore/issues/294#issuecomment-273929408, or mute the thread https://github.com/notifications/unsubscribe-auth/AAh3qVKlyK5YiGFJVCrDiOvxAb7ClXgEks5rT-7qgaJpZM4LosWl .

kroll-j commented 7 years ago

On Mint 18 (and most likely Mint 17), the package is called libasound2-dev.

$ dpkg -S /usr/include/alsa/asoundlib.h libasound2-dev:amd64: /usr/include/alsa/asoundlib.h

benswift commented 7 years ago

Cool, I've added the info in 9ff1bb3