Next: , Previous: Compiling on Ubuntu, Up: Specific installation examples


2.6.2 MacOS X additional software

Qt

On MacOS X and when using Qt-4.3.0 or higher, you must add:

     export QMAKESPEC=/usr/local/Qt4.3/mkspecs/macx-g++/

to your ~/.profile or ~/.bash_profile and then close (and re-open) your terminal window before compiling Marsyas.

Recording audio

When trying to record audio, the sample rate must be specified explicitly:

     pnet->addMarSystem(mng.create("AudioSource", "srcRec"));
     pnet->updctrl("mrs_real/israte", 44100.0);
     pnet->updctrl("AudioSource/srcRec/mrs_bool/initAudio", true);
MATLAB
  1. MATLAB and X11 for OS X must be installed
  2. The configure script assumes it is installed in /Applications/MATLAB74 (this should be an environment variable; this might be fixed soon ).
  3. The marsaysMATLABrelease configuration must be enabled (uncommented in marsyasConfig.pri, or do something for autotools)
  4. FIXME: THIS IS WRONG! Compile Marsyas using qmake, make
  5. try out marsyasTests -t MATLABengine. MATLAB should open and various benchmarks and communication between Marsyas and MATLAB should happen. If not email the mailing lists for some help.
  6. There must be a symbolic link to the matlab executable from /usr/bin/matlab: ln -s /Applications/MATLAB74/bin/matlab /usr/bin/matlab
  7. You must start X11 windows manually. "open -a X11", or click on the X11 icon in your /Applications/util/ folder.