micknoise / Maximilian

C++ Audio and Music DSP Library
http://www.maximilian.strangeloop.co.uk
MIT License
1.58k stars 279 forks source link

Compiling fails on Linux #24

Closed interstar closed 9 years ago

interstar commented 10 years ago

Been a while since I looked at this. But trying to compile on Ubuntu 13.10 I get the following (from the command line).

OSS :

RtAudio.cpp:6391:23: fatal error: soundcard.h: No such file or directory

include "soundcard.h"

ALSA : RtAudio.cpp:5148:28: fatal error: alsa/asoundlib.h: No such file or directory

include <alsa/asoundlib.h>

Jack : RtAudio.cpp:1798:23: fatal error: jack/jack.h: No such file or directory

include <jack/jack.h>

Are there files? Submodules missing? Or is there something I need to install / do before trying to compile?

micknoise commented 10 years ago

Hi Phil

This is an RTAudio problem - not to do with us. We're also compatible with port audio so try that. Instructions in the source somewhere.

On Saturday, July 12, 2014, phil jones notifications@github.com wrote:

Been a while since I looked at this. But trying to compile on Ubuntu 13.10 I get the following (from the command line).

OSS :

RtAudio.cpp:6391:23: fatal error: soundcard.h: No such file or directory

include "soundcard.h"

ALSA : RtAudio.cpp:5148:28: fatal error: alsa/asoundlib.h: No such file or directory

include

Jack : RtAudio.cpp:1798:23: fatal error: jack/jack.h: No such file or directory

include

Are there files? Submodules missing? Or is there something I need to install / do before trying to compile?

— Reply to this email directly or view it on GitHub https://github.com/micknoise/Maximilian/issues/24.

Sent from my mobile

alasdairKyle commented 7 years ago

how do u fix this issue been using your libery as part of my uni project

diversen commented 4 years ago

You need some dev libs:

E.g.:

RtAudio.cpp:5148:10: fatal error: alsa/asoundlib.h: No such file or directory 5148 | #include <alsa/asoundlib.h>

This should be resolved with (I am on Ubuntu 19.10):

sudo aptitude install libasound2-dev