Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation / compilation fails on Linux with GNU Octave #7

Open
mbrennwa opened this issue Apr 23, 2017 · 3 comments
Open

Installation / compilation fails on Linux with GNU Octave #7

mbrennwa opened this issue Apr 23, 2017 · 3 comments

Comments

@mbrennwa
Copy link

mbrennwa commented Apr 23, 2017

I followed the instructions on http://www.playrec.co.uk/compiling.html to install Playrec on my Ubuntu 17.04 Linux machine with GNU Octave 4.0.3. However, compiling Playrec failed with some unexpected reference to mac_osx.

The output from the Octave command line and the contents of the (relevant?) portaudio directory is shown below.

**** Octave output ****
>> compile_playrec
Please select the options required when compiling Playrec:
PortAudio installation directory [/home/mbrennwa/Desktop/playrec/lib/portaudio/]:
Use debug mode [Y]:
Use verbose mode [Y]:
Use case insensitive function names [N]:
Use Advanced Linux Sound Architecture (ALSA) [N]: y
Use AudioScience HPI [N]:
Use Jack Audio Connection Kit (JACK) [N]:
Use Open Sound System (OSS) [N]:
build_mex: Unable to find '/home/mbrennwa/Desktop/playrec/lib/portaudio/src/os/mac_osx'
Compiling Playrec failed, see the Command Window for more information.

**** portaudio files in .../src/os/ ****
ls -l /home/mbrennwa/Desktop/playrec/lib/portaudio/src/os/
total 8
drwxr-xr-x 2 mbrennwa mbrennwa 4096 Okt 30 02:23 unix
drwxr-xr-x 2 mbrennwa mbrennwa 4096 Okt 30 02:23 win

@mbrennwa
Copy link
Author

i was able to compile playrec by commenting out line line 53 ('src/os/mac_osx') of the file compile_playrec_fun.m .

@javinhe
Copy link

javinhe commented Jul 18, 2017

Thank you!, I had the same problem.

@m-r-s
Copy link

m-r-s commented Jan 17, 2018

Also happens with Ubuntu 17.10 and Octave 4.2.1.
Another workaround is to create the directory with:
mkdir -p "lib/portaudio/src/os/mac_osx"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants