-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi everyone,
I am using:
- Lubuntu 14.10
- MATLAB R2014a
- libasound2-dev 1.0.28-1
- portaudio v19, January 30, 2014, SVN rev 1919
- playrec, commit 48b4f6a
- gcc 4.9.1
According to https://github.com/PlayrecForMatlab/playrec/blob/master/m_files/build_mex.m#L27-28
the --std=c99 option is needed for portaudio. However it causes compile errors, if the ALSA API is selected via the GUI. The errors are due to the fact, that the source code of the portaudio's ALSA API uses "typeof". This is a an extension of the C-Standard, which is not accepted by the compiler, when specifying the ISO C99 Standard (--std=c99). Removing L28 does surprisingly solve the problem.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels